forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbackScripts.xml
More file actions
48 lines (48 loc) · 3.61 KB
/
Copy pathbackScripts.xml
File metadata and controls
48 lines (48 loc) · 3.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<doc>
<legacy_id>1751</legacy_id>
<name>backScripts</name>
<type>function</type>
<syntax>
<example>the backScripts</example>
<example>backScripts()</example>
</syntax>
<library></library>
<objects>
</objects>
<synonyms>
</synonyms>
<classification>
<category>Objects & Messages</category>
<category>Standalone Applications</category>
</classification>
<references>
<command tag="remove script">remove script Command</command>
<keyword tag="back">back Keyword</keyword>
</references>
<history>
<introduced version="1.0">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
<ios/>
<android/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
<mobile/>
</classes>
<security>
</security>
<summary><glossary tag="return">Returns</glossary> a list of <glossary tag="object">objects</glossary> that have been inserted into the <glossary tag="message path">message path</glossary> after the <object tag="stack">stack</object> the target <glossary tag="object">object</glossary> belongs to.</summary>
<examples>
<example>the backScripts</example>
<example>if the long ID of me is not among the lines of the backScripts then beep</example>
</examples>
<description>
<p>Use the <b>backScripts</b> function to find out which <glossary tag="script">scripts</glossary> receive <glossary tag="message">messages</glossary> and <glossary tag="function call">function calls</glossary> after the current <glossary tag="object">object</glossary>, the <glossary tag="object">objects</glossary> that <glossary tag="owner">own</glossary> the current <glossary tag="object">object</glossary>, and any <function tag="stacks">stacks</function> in the <property tag="stacksInUse">stacksInUse</property>.</p><p/><p><b>Value:</b></p><p>The <b>backScripts</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> a list of the long <property tag="ID">ID</property> <glossary tag="property">property</glossary> of all <glossary tag="object">objects</glossary> that have been inserted into the back, one ID per <keyword tag="line">line</keyword>.</p><p/><p><b>Comments:</b></p><p>A script inserted into the back with the <b>insert script</b> <glossary tag="command">command</glossary> receives <glossary tag="message">messages</glossary> after all <glossary tag="object">objects</glossary> in the <glossary tag="message path">message path</glossary>, just before the <glossary tag="application">application</glossary> itself receives the <keyword tag="message box">message</keyword>.</p><p/><p>If more than one object is in the <b>backScripts</b>, their order in the <glossary tag="message path">message path</glossary> is the same as their order in the list. For example, the first <glossary tag="object">object</glossary> in the <b>backScripts</b> receives <glossary tag="message">messages</glossary> before the second <glossary tag="object">object</glossary>. This order is the reverse of the order in which the <glossary tag="object">objects</glossary> were added with the <command tag="insert script">insert script</command> <glossary tag="command">command</glossary>.</p><p/><p>When using the development environment, you can place as many objects as you want in the <b>backScripts</b>. When using a <glossary tag="standalone application">standalone application</glossary>, the number of <function tag="backScripts">backScripts</function> that can be active at once is specified by the <function tag="scriptLimits">scriptLimits</function> <control_st tag="function">function</control_st>, and is currently ten.</p>
</description>
</doc>