Adobe 27510753 - InDesign CS2 - PC Manual page 65

Scripting guide
Hide thumbs Also See for 27510753 - InDesign CS2 - PC:
Table of Contents

Advertisement

Adobe InDesign CS2 Scripting Guide
sleep
$.sleep (
milli-
seconds
summary
$.summary ([
classname
write
$.write
text
(
[,
text
writeln
$.writeln
text
(
[,
text
Object statistics
The output from $.list() is formatted as in the following example.
Address
0092196c
00976c8c
00991bc4 L
0099142c L
00991294
The columns show the following object information.
Address
L
Refs
Suspends the calling thread for the given number of milliseconds.
milliseconds
)
Returns undefined .
During a sleep period, checks at 100 millisecond intervals to see
whether the sleep should be terminated. This can happen if there is a
break request, or if the script timeout has expired.
The number of milliseconds to wait.
Collects a summary of object counts into a table and returns this table
classname
])
as a string. The table shows the number of objects in each specified
class. For example:
3 Array
5 String
Optional. The type of object to count. If not supplied, counts all objects currently
defined.
Writes the specified text to the JavaScript Console. Returns unde-
fined
text
...]...)
One or more strings to write, which are concatenated to form a single
string.
Writes the specified text to the JavaScript Console and appends a line-
feed sequence. Returns undefined .
text
...]...)
One or more strings to write, which are concatenated to form a single
string.
L
Refs
Prop
4
0
Function
2
1
Object
1
1
LOTest
2
2
Function
1
0
Object
The physical address of the object in memory.
This column contains the letter "L" if the object is a LiveObject (which is an internal data
type).
The reference count of the object.
.
Class
Name
[toplevel]
Object
LOTest
LOTest
Object
workspace
Using ExtendScript Tools and Features
57

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Indesign cs2

Table of Contents