
Adobe Photoshop CS3
JavaScript Scripting Reference
JavaScript Object Reference 47
Methods
Method
Parameter Type
Returns
What it does
batch
(inputFiles,
action,
from
[, options])
array of File
string
string
BatchOptions
string
Runs the batch automation
routine
(similar to the Batch
command, or File >
Automate > Batch in the
Adobe Photoshop CS3
application).
Note:
The
inputFiles
parameter specifies the
source for the files to
be manipulated by the
Batch command.
Note:
For information about
the File object, see the
JavaScript Tools Guide
beep
()
Causes a “beep” sound.
bringToFront
Makes Adobe Photoshop CS3
the active (front-most)
application.
charIDToTypeID
(charID)
string
number (long)
Converts from a four character
code (character ID) to a
runtime ID.
doAction
(action,
from)
string
string
Plays an action from the
Actions palette.
eraseCustomOptions
(key
)
string
Erases user object with ID
value
key
from the Photoshop
registry.
executeAction
(eventID
[, descriptor]
[, displayDialogs])
number (long)
ActionDescriptor
DialogModes
ActionDescriptor
Plays an
ActionManager
event.
executeActionGet
(reference)
ActionReference
ActionDescriptor
Obtains an
ActionDescriptor
.