The Fireworks object
31
progressCountCurrent
integer
The first number (
x
) that appears in the
Batch Progress dialog box, in the “File x of
y” field. Set this property to change the
number.
progressCountTotal
integer
The second number (
y
) that appears in the
Batch Progress dialog box, in the “File x of
y” field. Set this property to change the
number.
screenRect
•
rectangle
The size of the main screen on this
computer, in pixels. Useful for positioning
windows or panels.
selection
array
Array of the selected objects in the active
document. If nothing is selected, it returns
an array of length zero. If no document is
open, it returns
null
.
selectedMask
object
If a single item is selected and that item is a
mask, this property returns an
ElementMask object (for more information,
see
“ElementMask object” on page 56
);
otherwise, it returns
null
.
styles
•
array
Array of the Style object that is currently
loaded in the Style panel (for more
information, see
“Style object”
on page 76
).
textInsertionIndex
•
integer
Insertion index into the current active text
object. If there is no text selected, returns a
value of -1.
textInsertionLength
•
integer
Insertion length into the current active text
object. If there is no text selected, returns a
value of -1.
textOutputEncoding
string
The default text encoding for any text file
that the JavaScript interpreter generates.
Use
"iso-8859-1"
for ASCII or
"utf-8"
for
Unicode.
Property
Data type
Notes
Summary of Contents for FIREWORKS 8-EXTENDING FIREWORKS
Page 1: ...Extending Fireworks ...
Page 4: ...4 Contents ...
Page 358: ...358 Fireworks JavaScript API ...
Page 372: ...372 Index ...