Specifications

Table Of Contents
Adobe Photoshop CS6
JavaScript Scripting Reference JavaScript Object Reference 47
Methods
version
string
Read-only. The version of Adobe Photoshop
application you are running.
windowsFileTypes
array of string
Read-only. A list of file image extensions Adobe
Photoshop CS6 can open.
Property Value type What it is (Continued)
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 File > Automate >
Batch command).
The
inputFiles parameter specifies
the sources for the files to be
manipulated by the batch command.
beep
()
Causes a "beep" sound.
bringToFront
()
Makes Adobe Photoshop CS6 the
active (front-most) application.
charIDToTypeID
(charID)
string
number
Converts from a four character code
(character ID) to a runtime ID.
doAction
(action,
from)
string
string
Plays an action from the Actions
palette. The
action parameter is the
name of the action, the
from
parameter is the name of the action
set.
eraseCustomOptions
(key)
string
Erases the user object with specified
ID value from the Photoshop registry.
executeAction
(eventID
[, descriptor]
[, displayDialogs])
number
ActionDescriptor
DialogModes
ActionDescriptor
Plays an Action Manager event.
executeActionGet
(reference)
ActionReference
ActionDescriptor
Obtains information about a
predefined or recorded action.
featureEnabled
(name)
string
boolean
Determines whether the feature
specified by
name is enabled.
The following features are supported
as values for
name:
"photoshop/extended"
"photoshop/standard"
"photoshop/trial"