Adobe, ImageReady , Photoshop , Adobe Type Manager, ATM and PostScript are trademarks of Adobe Systems Incorporated that may
be registered in certain jurisdictions. Microsoft, Visual Basic, Windows, Windows 95, Windows 98, and Windows NT are registered
trademarks of Microsoft Corporation. All other products or name brands are trademarks of their respective holders.
The information in this document is furnished for informational use only, is subject to change without notice, and should not be
construed as a commitment by Adobe Systems Incorporated. Adobe Systems Incorporated assumes no responsibility or liability for
any errors or inaccuracies that may appear in this document. The software described in this document is furnished under license and
may only be used or copied in accordance with the terms of such license.
Suite Listing for Adobe Photoshop CS
Core Suite : Suite that applies to all applications
count: Return the number of elements of a particular class within an object
countreference -- the object whose elements are to be counted
eachtype class -- the class of the elements to be counted.
Result: integer -- the number of elements
delete: Remove an element from an object
deletereference -- the element to delete
duplicate: Duplicate one or more object(s)
duplicatereference -- the object(s) to duplicate
[tolocation reference] -- the new location for the object(s)
[with propertiesrecord] -- new values for the properties of the duplicated element
Result: reference -- to the duplicated object(s)
exists: Verify if an object exists
existsreference -- the object in question
Result: boolean -- true if it exists, false if not
make: Make a new element
make
newtype class -- the class of the new element.atlocation reference -- the location at which to insert the element
[with dataanything] -- the initial data for the element
[with propertiesrecord] -- the initial values for the properties of the element
Result: reference -- to the new object(s)
move: Move object(s) to a new location
movereference -- the object(s) to move
tolocation reference -- the new location for the object(s)
Result: reference -- to the object(s) after they have been moved
close: close the document
closedocument -- the document object or objects to be operated upon
[savingask/no/yes] -- specifies whether changes should be saved before closing ( default: ask )
Preview/Filmstrip/JPEG/PCX/PDF/Photo CD/Photoshop DCS 1.0/Photoshop DCS 2.0/Photoshop EPS/Photoshop format/
Photoshop PDF/PICT file/PICT resource/Pixar/PNG/Portable Bitmap/raw/Scitex CT/SGI RGB/SoftImage/Targa/TIFF/
Wavefront RLA/Wireless Bitmap] -- open document as the specified type
[with optionsopen options] -- options for the file type specified
[showing dialogsalways/error dialogs/never] -- should a dialog be displayed when a file is opened
print: print the specified object(s)
printanything -- the file(s) or document(s) to be printed
[postscript encodingASCII/binary/JPEG] -- encoding type ( default: binary )
[source spacedocument space/proof space] -- color space for source ( default: document space )
[print spaceUnicode text] -- color space for printer. Can be nothing (meaning same as source); 'Working RGB',
'Working CMYK', 'Working Gray', 'Lab Color' (meaning one of the working spaces or Lab color); or a string specifying a
specific colorspace (default is same as source)
[intentabsolute colorimetric/perceptual/relative colorimetric/saturation intent] -- if the print space is different
from the source space, this argument will be used as the color conversion intent ( default: relative colorimetric )
[blackpoint compensationboolean] -- if the print space is different from the source space, this argument indicates
if the color conversion should use black point compensation ( default: true )
quit: quit the application
quit
save: save the specified document
savedocument -- the document object or objects to be operated upon
[infile specification] -- the file to save the document in
[asAlias PIX/BMP/CompuServe GIF/Electric Image/JPEG/PCX/Photoshop DCS 1.0/Photoshop DCS 2.0/Photoshop
EPS/Photoshop format/Photoshop PDF/PICT file/PICT resource/Pixar/PNG/Portable Bitmap/raw/Scitex CT/SGI RGB/
SoftImage/Targa/TIFF/Wavefront RLA/Wireless Bitmap] -- the file type to save the document as
[copyingboolean] -- save as copy leaving original open. Unsaved files cannot be saved as copy
[appendinglowercase extension/no extension/uppercase extension] -- append an extension to the document
name
[with optionssave options] -- options for the file type specified
Result: document -- save the specified document
Class application: The Adobe Photoshop application
Elements:
document by name, by numeric index, as a range of elements, before/after another element, satisfying a test
font by name, by numeric index, as a range of elements, before/after another element, satisfying a test
Properties:
best type type class [r/o] -- the best type for the object's value
class type class [r/o] -- the object's class
default type type class [r/o] -- the default type for the object's value
properties record -- all of this object's properties returned in a single record
background color color value
color settings anything -- name of selected color settings' set
current document document -- the frontmost document
display dialogs always/error dialogs/never -- controls whether or not Photoshop displays dialogs
foreground color color value
free memory real [r/o] -- the amount of unused memory available to Adobe Photoshop
frontmost boolean [r/o] -- is Photoshop the frontmost application?
name Unicode text [r/o] -- the application's name
scripting version Unicode text [r/o] -- the version of the Scripting interface
modified boolean [r/o] -- has the document been modified since last save?
name Unicode text [r/o] -- the document's name
pixel aspect ratio real -- the pixel aspect ration of the document
quick mask mode boolean -- is the document in the quick mask mode?
resolution real
selection selection-object [r/o] -- the document's selection
width real [r/o] -- width of document (unit value)
XMP metadata XMP metadata [r/o]
[r/o] -- the resolution of the document (in pixels per inch)
Photoshop Suite : Scripting commands and classes for Adobe Photoshop
apply: apply the layer comp to the document
applylayer comp -- the layer comp object or objects to be operated upon
apply layer style:
apply layer styleart layer -- the art layer object or objects to be operated upon
usingUnicode text -- name of the layer style to apply
change mode: change the mode of the document
change modedocument -- the document object or objects to be operated upon
tobitmap/CMYK/grayscale/indexed color/Lab/multichannel/RGB -- name of mode to change to
[with optionschange mode options] -- options for changing the mode
contract: contracts the selection
contractselection-object -- the selection-object object or objects to be operated upon
byreal -- distance to contract the selection by (unit value)
convert: convert the document from using one color profile to using an other
convertdocument -- the document object or objects to be operated upon
to profileUnicode text -- name of color profile to convert to. Either a string specifying a specific color profile or
'Working RGB', 'Working CMYK', 'Working Gray', 'Lab Color' meaning one of the working color spaces or Lab color
intentabsolute colorimetric/perceptual/relative colorimetric/saturation intent -- conversion intent
[blackpoint compensationboolean] -- use black point compensation?
[ditheringboolean] -- use dither? ( default: true )
convert to shape: converts the text item and its containing layer to a fill layer with the text changed to a
clipping path
convert to shapetext-object -- the text-object object or objects to be operated upon
create PDF presentation: create a PDF presentation file
create PDF presentation
from files list of alias -- list of input files to include in the outputto filefile specification -- location of the output file
[with optionspresentation options] -- options for the PDF presentation
Result: Unicode text -- create a PDF presentation file
create photo gallery: create a web photo gallery
create photo gallery
from folderalias -- folder of files to processto folderalias -- location for output files
[with optionsgallery options] -- options for the web photo gallery
Result: Unicode text -- create a web photo gallery
create work path: creates a work path based on the text object
create work pathtext-object -- the text-object object or objects to be operated upon
crop: crop the document
cropdocument -- the document object or objects to be operated upon
boundslist -- area to crop (unit value)
[anglereal] -- angle of cropping bounds ( default: 0.0 )
[widthreal] -- width of resulting document (unit value)
[heightreal] -- height of resulting document (unit value)
deselect:
deselectdocument -- the document object or objects to be operated upon
expand: expand selection
expandselection-object -- the selection-object object or objects to be operated upon
byreal -- distance to expand the selection by (unit value)
export:
exportdocument -- the document object or objects to be operated upon
infile specification -- the file to export to
[asIllustrator paths] -- the type of export ( default: Illustrator paths )
[with optionsIllustrator paths export options] -- options for the export type specified
feather: feather edges of selection
featherselection-object -- the selection-object object or objects to be operated upon
byreal -- amount to feather the edge by (unit value)
fill: fills the selection
fillselection-object -- the selection-object object or objects to be operated upon
with contentsanything -- a color or a history state
[blend modebehind mode/clear mode/color blend/color burn/color dodge/darken/difference/dissolve/exclusion/
hard light/hue blend/lighten/linear burn/linear dodge/linear light/luminosity/multiply/normal/overlay/pin light/saturation
blend/screen/soft light/vivid light] -- ( default: normal )
import annotations: import annotations into the document
import annotationsdocument -- the document object or objects to be operated upon
fromalias -- document to import annotations from
invert: invert the selection
invertselection-object -- the selection-object object or objects to be operated upon
link: link the layer with another layer
linklayer -- the layer object or objects to be operated upon
withlayer -- layer to link to
load: load the selection from a channel
loadselection-object -- the selection-object object or objects to be operated upon
fromchannel -- the channel to load the selection from
[combination typediminished/extended/intersected/replaced] -- how to combine the channel contents with the
existing selection ( default: replaced )
[invertingboolean] -- select the inverse of the channel contents? ( default: false )
make work path: make this selection item the work path for this document
make work pathselection-object -- the selection-object object or objects to be operated upon
[tolerancereal] -- tolerance in pixels
merge: merge an art layer, layer set or a spot channel. Merging a layer returns a reference to the resulting
layer. Merging a channel does not return any value
mergechannel -- the channel object or objects to be operated upon
merge visible layers: flatten all visible layers in the document
merge visible layersdocument -- the document object or objects to be operated upon
purge: purges one or more caches
purgeall caches/clipboard cache/history caches/undo caches -- what to purge
rasterize:
rasterizeart layer -- the art layer object or objects to be operated upon
affectingall linked layers/entire layer/fill content/layer clipping path/shape/text contents -- what to rasterize
recapture: recapture the current layer state(s) for this layer comp
recapturelayer comp -- the layer comp object or objects to be operated upon
reset from comp: reset the layer comp state to the document state
reset from complayer comp -- the layer comp object or objects to be operated upon
resize canvas: change the size of the canvas
resize canvasdocument -- the document object or objects to be operated upon
left/top right] -- point to scale about ( default: middle center )
select: change the selection
selectdocument -- the document object or objects to be operated upon
region list of anything -- list of corners of the selection (in pixels)
[combination typediminished/extended/intersected/replaced] -- how to combine the new selection with the
existing selection ( default: replaced )
[feather amountreal] -- feather amount ( default: 0.0 )
[antialiasingboolean] -- whether to use antialiasing ( default: true )
select all: select the entire image
select alldocument -- the document object or objects to be operated upon
select border: select the border of the selection
select borderselection-object -- the selection-object object or objects to be operated upon
widthreal -- width of border selection (unit value)
similar: grow selection to include pixels throughout the image falling within the tolerance range
similarselection-object -- the selection-object object or objects to be operated upon
toleranceintegerantialiasingboolean
smooth:
smoothselection-object -- the selection-object object or objects to be operated upon
split channelsdocument -- the document object or objects to be operated upon
Result: list of document -- split channels of the document
store: save the selection as a channel
storeselection-object -- the selection-object object or objects to be operated upon
intochannel -- the channel to save the selection to
[combination typediminished/extended/intersected/replaced] -- how to add the selection to the existing
contents of the channel ( default: replaced )
stroke: strokes the selection
strokeselection-object -- the selection-object object or objects to be operated upon
using coloranything -- color to stroke selection withwidthinteger -- width of stroke (in pixels)
[locationcenter/inside/outside] -- ( default: center )
[blend modebehind mode/clear mode/color blend/color burn/color dodge/darken/difference/dissolve/exclusion/
hard light/hue blend/lighten/linear burn/linear dodge/linear light/luminosity/multiply/normal/overlay/pin light/saturation
blend/screen/soft light/vivid light] -- ( default: normal )
trapdocument -- the document object or objects to be operated upon
widthinteger -- trap width in pixels
trim:
trimdocument -- the document object or objects to be operated upon
[basing trim onbottom right pixel/top left pixel/transparent pixels] -- color or type of pixels to base trim on (
default: top left pixel )
[top trimboolean] -- trim away top of document ( default: true )
[left trimboolean] -- trim away left of document ( default: true )
[bottom trimboolean] -- trim away bottom of document ( default: true )
[right trimboolean] -- trim away right of document ( default: true )
unlink: unlink the layer
unlinklayer -- the layer object or objects to be operated upon
Class art layer: any layer that can contain data
Plural form:
art layers
Elements:
Super classes:
layer
Properties:
best type type class [r/o] -- (inherited from the “layer” class) the best type for the object's value
class type class [r/o] -- (inherited from the “layer” class) the object's class
default type type class [r/o] -- (inherited from the “layer” class) the default type for the object's value
index integer [r/o] -- (inherited from the “layer” class) the index of this instance of the object
properties record -- (inherited from the “layer” class) all of this object's properties returned in a single record
all locked boolean -- (inherited from the “layer” class)
blend mode color blend/color burn/color dodge/darken/difference/dissolve/exclusion/hard light/hue blend/lighten/
linear burn/linear dodge/linear light/luminosity/multiply/normal/overlay/pass through/pin light/saturation blend/screen/soft
light/vivid light -- (inherited from the “layer” class)
bounds list [r/o] -- (inherited from the “layer” class) Bounding rectangle of the Layer
container reference [r/o] -- (inherited from the “layer” class) the object's container
linked layers list of layer [r/o] -- (inherited from the “layer” class)
name Unicode text -- (inherited from the “layer” class) the name of the layer
opacity real -- (inherited from the “layer” class) master opacity of layer ( 0.0 - 100.0 )
visible boolean -- (inherited from the “layer” class)
background layer boolean -- is the layer a background layer?
fill opacity real -- the interior opacity of the layer (between 0.0 and 100.0)
grouped boolean -- is the layer grouped with the layer below?. Photoshop CS changed the menu name to Create/
layer/hue saturation layer/inversion layer/levels layer/normal/pattern fill layer/posterize layer/selective color layer/solid fill
layer/text layer/threshold layer -- to create a text layer set this property to 'text layer' on an empty art layer of type
'normal'
pixels locked boolean
position locked boolean
text object text-object [r/o] -- the text item that is associated with the art layer. Only valid for art layers whose 'has
text' is true
transparent pixels locked boolean
Class Bitmap mode options: Settings related to changing the document mode to Bitmap
Elements:
Super classes:
change mode options
Properties:
angle real -- only valid for 'halftone screen' conversions
best type type class [r/o] -- the best type for the object's value
class type class [r/o] -- the object's class
default type type class [r/o] -- the default type for the object's value
index integer [r/o] -- the index of this instance of the object
properties record -- all of this object's properties returned in a single record
all locked boolean
blend mode color blend/color burn/color dodge/darken/difference/dissolve/exclusion/hard light/hue blend/lighten/
linear burn/linear dodge/linear light/luminosity/multiply/normal/overlay/pass through/pin light/saturation blend/screen/soft
light/vivid light
bounds list [r/o] -- Bounding rectangle of the Layer
container reference [r/o] -- the object's container
linked layers list of layer [r/o]
name Unicode text -- the name of the layer
opacity real -- master opacity of layer ( 0.0 - 100.0 )
visible boolean
Class layer comp: A layer composition in a document
Plural form:
layer comps
Properties:
best type type class [r/o] -- the best type for the object's value
class type class [r/o] -- the object's class
default type type class [r/o] -- the default type for the object's value
index integer [r/o] -- the index of this instance of the object
properties record -- all of this object's properties returned in a single record
appearance boolean -- use layer appearance
comment anything -- the description of the layer comp
container reference [r/o] -- the object's container
name Unicode text -- the name of the layer comp
position boolean -- use layer position
selected boolean [r/o] -- the layer comp is currently selected
visibility boolean -- use layer visibility
Class layer set: Layer set
Plural form:
layer sets
Elements:
art layer by name, by numeric index, as a range of elements, before/after another element, satisfying a test
layer by name, by numeric index, as a range of elements, before/after another element, satisfying a test
layer set by name, by numeric index, as a range of elements, before/after another element, satisfying a test
Super classes:
layer
Properties:
best type type class [r/o] -- (inherited from the “layer” class) the best type for the object's value
class type class [r/o] -- (inherited from the “layer” class) the object's class
default type type class [r/o] -- (inherited from the “layer” class) the default type for the object's value
index integer [r/o] -- (inherited from the “layer” class) the index of this instance of the object
properties record -- (inherited from the “layer” class) all of this object's properties returned in a single record
all locked boolean -- (inherited from the “layer” class)
blend mode color blend/color burn/color dodge/darken/difference/dissolve/exclusion/hard light/hue blend/lighten/
linear burn/linear dodge/linear light/luminosity/multiply/normal/overlay/pass through/pin light/saturation blend/screen/soft
light/vivid light -- (inherited from the “layer” class)
bounds list [r/o] -- (inherited from the “layer” class) Bounding rectangle of the Layer
container reference [r/o] -- (inherited from the “layer” class) the object's container
linked layers list of layer [r/o] -- (inherited from the “layer” class)
name Unicode text -- (inherited from the “layer” class) the name of the layer
opacity real -- (inherited from the “layer” class) master opacity of layer ( 0.0 - 100.0 )
visible boolean -- (inherited from the “layer” class)
enabled channels list of channel -- channels that are enabled for the layer set. Must be a list of component channels
Class presentation options: options for the PDF presentation command
Properties:
auto advance boolean -- auto advance when viewing ( default: true )
downgrade color profile boolean -- should the embedded color profile be downgraded to version 2 ( default: false )
embed fonts boolean -- embed fonts? Only valid if a text layer is included ( default: false )
embed color profile boolean -- embed color profile in document
name Unicode text -- name of PICT resource ( default: "" )
resolution eight/four/sixteen/thirty two/two -- number of bits per pixel
resource id integer -- ID of PICT resource ( default: 128 )
save alpha channels boolean -- save alpha channels
Class Pixar save options: Settings related to saving a Pixar document
Elements:
Super classes:
save options
Properties:
save alpha channels boolean -- save alpha channels
Class PNG save options: Settings related to saving a PNG document
Elements:
Super classes:
save options
Properties:
interlaced boolean -- should rows be interlaced? ( default: false )
Class raw save options: Settings related to saving a document in raw format
Elements:
Super classes:
save options
Properties:
save alpha channels boolean -- save alpha channels
save spot colors boolean -- save spot colors
Class save options: used with options on the save command
Sub classes:
BMP save options, EPS save options, GIF save options, JPEG save options, PDF save options, Photoshop DCS 1.0 save
options, Photoshop DCS 2.0 save options, Photoshop save options, PICT file save options, PICT resource save options, Pixar
save options, PNG save options, raw save options, SGI RGB save options, Targa save options, TIFF save options
Class SGI RGB save options: Settings related to saving a document in the SGI RGB format
Elements:
Super classes:
save options
Properties:
save alpha channels boolean -- save alpha channels
save spot colors boolean -- save spot colors
Class Targa save options: Settings related to saving a Target document
Elements:
Super classes:
save options
Properties:
resolution sixteen/thirty two/twenty four -- number of bits per pixel ( default: twenty four )
RLE compression boolean -- should RLE compression be used? ( default: true )
save alpha channels boolean -- save alpha channels
Class TIFF save options: Settings related to saving a TIFF document
Elements:
Super classes:
save options
Properties:
byte order IBM PC/Mac OS -- Default value is 'Mac OS' when running on MacOS, and 'IBM PC' when running on a PC
embed color profile boolean -- embed color profile in document
image compression JPEG/LZW/none/ZIP -- compression type ( default: none )
JPEG quality integer -- quality of produced image. Only valid for JPEG compressed TIFF documents ( 0 - 12 )
layer compression RLE/ZIP -- should only be used when you are saving layers
save alpha channels boolean -- save alpha channels
save annotations boolean -- save annotations
save image pyramid boolean -- ( default: false )
save layers boolean -- save layers
save spot colors boolean -- save spot colors
transparency boolean
Filter Suite : Scripting commands for applying filters to documents
filter: apply a filter to one or more art layers
filterart layer -- the art layer object or objects to be operated upon
usinganything -- name of options class that the method should be invoked with. Must be a name of a class that
inherits from filter options
[with optionsfilter options] -- options for method
Class add noise: apply the add noise filter
Elements:
Super classes:
filter options
Properties:
amount real
distribution Gaussian/uniform
monochromatic boolean
Class blur: apply the blur filter
Elements:
Super classes:
filter options
Properties:
Class blur more: apply the blur more filter
Elements:
Super classes:
filter options
Properties:
Class clouds: apply the clouds filter
Elements:
Super classes:
filter options
Properties:
Class custom filter: apply the custom filter
Elements:
Super classes:
filter options
Properties:
characteristics list of integer -- filter characteristics (array of 25 values - Correspons to a left to right, top to bottom
traversal of array presented in the Ui)
scaling integer
offset integer
Class deinterlace: apply the De-Interlace filter
Elements:
Super classes:
filter options
Properties:
eliminate even fields/odd fields
create new fields by duplication/interpolation
Class despeckle: apply the despeckle filter
Elements:
Super classes:
filter options
Properties:
Class difference clouds: apply the difference clouds filter
Elements:
Super classes:
filter options
Properties:
Class diffuse glow: apply the diffuse glow filter
Elements:
Super classes:
filter options
Properties:
graininess integer -- (range: 0 - 10)
glow amount integer -- (range: 0 - 20)
clear amount integer -- (range: 0 - 20)
Class displace filter: apply the displace filter
Elements:
Super classes:
filter options
Properties:
horizontal scale integer
vertical scale integer
kind stretch to fit/tile
undefined areas repeat edge pixels/wrap around
displacement map definition alias
Class dust and scratches: apply the dust and scratches filter
Elements:
Super classes:
filter options
Properties:
radius integer -- in pixels
threshold integer
Class filter options: options used with the filter method
Class automatic contrast: adjust contrast of the selected channels automatically
Elements:
Super classes:
adjustment options
Properties:
Class automatic levels: adjust levels of the selected channels using auto levels option
Elements:
Super classes:
adjustment options
Properties:
Class brightness and contrast: adjust brightness and constrast
Elements:
Super classes:
adjustment options
Properties:
brightness level integer
contrast level integer
Class color balance:
Elements:
Super classes:
adjustment options
Properties:
shadows list of integer -- list of adjustments for shadows. There must be 3 values in the list
midtones list of integer -- list of adjustments for midtones. There must be 3 values in the list
highlights list of integer -- list of adjustments for highlights. There must be 3 values in the list
preserve luminosity boolean
Class curves: adjust curves of the selected channels
Elements:
Super classes:
adjustment options
Properties:
curve points list of list -- list of curve points (number of points must be between 2 and 11)
Class desaturate:
Elements:
Super classes:
adjustment options
Properties:
Class equalize: equalize the levels
Elements:
Super classes:
adjustment options
Properties:
Class inversion: inverts the currently selected layer or channels
Elements:
Super classes:
adjustment options
Properties:
Class levels adjustment: adjust levels of the selected channels
Elements:
Super classes:
adjustment options
Properties:
input range start integer
input range end integer
input range gamma real
output range start integer
output range end integer
Class mix channels: only valid for RGB or CMYK documents
Elements:
Super classes:
adjustment options
Properties:
output channels list of anything -- list of channel specifications. For each component channel that the document has,
you must specify a list of adjustment values followed by a 'constant' value
monochrome mixing boolean -- use monochrome mixing? If this is true you can only specify one channel value (
default: false ) ( default: false )
Class posterize:
Elements:
Super classes:
adjustment options
Properties:
levels integer
Class selective color:
Elements:
Super classes:
adjustment options
Properties:
selection method absolute/relative
reds list of real -- Array of 4 values: cyan, magenta, yellow, black
yellows list of real -- Array of 4 values: cyan, magenta, yellow, black
greens list of real -- Array of 4 values: cyan, magenta, yellow, black
cyans list of real -- Array of 4 values: cyan, magenta, yellow, black
blues list of real -- Array of 4 values: cyan, magenta, yellow, black
magentas list of real -- Array of 4 values: cyan, magenta, yellow, black
whites list of real -- Array of 4 values: cyan, magenta, yellow, black
neutrals list of real -- Array of 4 values: cyan, magenta, yellow, black
blacks list of real -- Array of 4 values: cyan, magenta, yellow, black
Class threshold adjustment:
Elements:
Super classes:
adjustment options
Properties:
level integer
Color Suite : Color classes for Adobe Photoshop
convert color: convert a object from one color model to another
convert colorcolor value -- color to convert
toCMYK/grayscale/HSB/Lab/RGB/RGB Hex -- color model to convert to
Result: color value -- convert a object from one color model to another
equal colors: are the colors visually equal?
equal colorscolor value -- the cPsBaseColor object to be operated upon
withcolor value
Result: boolean -- are the colors visually equal?
web safe color: find the closest web safe color for a color
web safe color
forcolor value
Result: RGB color -- find the closest web safe color for a color
Class CMYK color: A CMYK color specification
Elements:
Super classes:
color value
Properties:
cyan real -- the cyan color value (between 0.0 and 100.0)
magenta real -- the magenta color value (between 0.0 and 100.0)
yellow real -- the yellow color value (between 0.0 and 100.0)
black real -- the black color value (between 0.0 and 100.0)
Class color value: A color value
Sub classes:
CMYK color, gray color, HSB color, Lab color, no color, RGB color, RGB hex color
Class gray color: A gray color specification
Elements:
Super classes:
color value
Properties:
gray value real -- the gray value ( 0.0 - 100.0; default: 0.0 )
Class HSB color: An HSB color specification
Elements:
Super classes:
color value
Properties:
hue real -- the hue value (between 0.0 and 360.0)
saturation real -- the saturation value (between 0.0 and 100.0)
brightness real -- the brightness value (between 0.0 and 100.0)
Class Lab color: An Lab color specification
Elements:
Super classes:
color value
Properties:
value_L real -- the L-value (between 0.0 and 100.0)
value_a real -- the a-value (between -128.0 and 127.0)
value_b real -- the b-value (between -128.0 and 127.0)
Class no color: represents a missing color
Elements:
Super classes:
color value
Properties:
Class RGB color: An RGB color specification
Elements:
Super classes:
color value
Properties:
red real -- the red color value ( 0.0 - 255.0; default: 255.0 )
green real -- the green color value ( 0.0 - 255.0; default: 255.0 )
blue real -- the blue color value ( 0.0 - 255.0; default: 255.0 )
Class RGB hex color: A hexadecimal specification of an RGB color
Elements:
Super classes:
color value
Properties:
hex value Unicode text -- the hex representation of the color. (Example '10FF4B')
Path Suite : Classes for working with art path items
create selection: make a selection from this path
create selectionpath item -- the path item object or objects to be operated upon
[feather amountreal] -- the feather amount in pixels
[antialiasingboolean] -- use anti aliasing for the selection
[operationdiminished/extended/intersected/replaced] -- the operation mode for the selection
deselect: unselect this path item, no paths items are selected
deselectpath item -- the path item object or objects to be operated upon
fill path: fill the path with the following information
fill pathpath item -- the path item object or objects to be operated upon
[with contentsanything] -- color of the fill for this path
[blend modebehind mode/clear mode/color blend/color burn/color dodge/darken/difference/dissolve/exclusion/
hard light/hue blend/lighten/linear burn/linear dodge/linear light/luminosity/multiply/normal/overlay/pin light/saturation
blend/screen/soft light/vivid light] -- blending mode of the fill for this path
[opacityreal] -- opacity of the fill for this path
[preserving transparencyboolean] -- preserve the transparency of the file for this path
[feather amountreal] -- the feather amount in pixels
[antialiasingboolean] -- use all subpaths when doing fill
make clipping path: make this path item the clipping path for this document
make clipping pathpath item -- the path item object or objects to be operated upon
[flatnessreal] -- flatness in device pixels
select: make this path item the active or selected path item
selectpath item -- the path item object or objects to be operated upon
stroke path: stroke the path with the following information
stroke pathpath item -- the path item object or objects to be operated upon
replacement tool/dodge tool/eraser tool/healing brush tool/history brush tool/pattern stamp tool/pencil tool/sharpen tool/
smudge tool/sponge tool] -- tool to use when stroking the path
[simulate pressureboolean] -- simulate the pressure when using the tool
Class path item: An artwork path item
Plural form:
path items
Elements:
sub path item by numeric index, as a range of elements, before/after another element, satisfying a test
Properties:
best type type class [r/o] -- the best type for the object's value
class type class [r/o] -- the object's class
default type type class [r/o] -- the default type for the object's value
index integer [r/o] -- the index of this instance of the object
properties record -- all of this object's properties returned in a single record
container reference [r/o] -- the object's container
entire path list of sub path info [r/o] -- all the path item's sub paths
kind clipping/normal/text mask/vector mask/work
name Unicode text -- the name of the path item
Class path point: A point on a path
Plural form:
path points
Properties:
best type type class [r/o] -- the best type for the object's value
class type class [r/o] -- the object's class
default type type class [r/o] -- the default type for the object's value
index integer [r/o] -- the index of this instance of the object
properties record -- all of this object's properties returned in a single record
anchor list [r/o] -- the position (coordinates) of the anchor point
container reference [r/o] -- the object's container
kind corner point/smooth point [r/o] -- the type of point: smooth/corner
left direction list [r/o] -- location of the left direction point (in position)
right direction list [r/o] -- location of the right direction point (out position)
Class path point info: Path point information (returned by entire path dataClassProperty of path item
class)
Properties:
anchor list -- the position of the anchor (in coordinates)
kind corner point/smooth point -- the point type, smooth/corner
left direction list -- location of the left direction point (in position)
right direction list -- location of the left direction point (out position)
Class sub path info: Sub path information (returned by entire path dataClassProperty of path item class)
Properties:
closed boolean -- is this path closed?
entire sub path list of path point info -- all the sub path item's path points
operation shape add/shape intersect/shape subtract/shape xor -- sub path operation on other sub paths
Class sub path item: An artwork sub path item
Plural form:
sub path items
Elements:
path point by numeric index, as a range of elements, before/after another element, satisfying a test
Properties:
best type type class [r/o] -- the best type for the object's value
class type class [r/o] -- the object's class
default type type class [r/o] -- the default type for the object's value
index integer [r/o] -- the index of this instance of the object
properties record -- all of this object's properties returned in a single record
closed boolean [r/o] -- is this path closed?
container reference [r/o] -- the object's container
entire sub path list of path point info [r/o] -- all the sub path item's path points
operation shape add/shape intersect/shape subtract/shape xor [r/o] -- sub path operation on other sub paths
Miscellaneous Standards Suite : Miscellaneous standard commands and classes
clear: clear current selection
clear
copy: copy current selection to the clipboard
copy
copy merged: copy current selection to the clipboard. Include data in all visible layers.
copy merged
cut: cut current selection to the clipboard
cut
do action: play an action from the Actions Palette
do actionUnicode text -- the name of the action to play (note that the case of letters in the Action name is important
and must match the case of the name in the Actions palette)
fromUnicode text -- the name of the action set containing the action being played (note that the case of letters
in the Action Set name is important and must match the case of the name in the Actions palette)
do javascript: execute a JavaScript
do javascriptanything -- JavaScript code or file to execute
[with arguments list of anything] -- arguments to pass to the JavaScript routine
[show debuggerbefore running/never/on runtime error] -- when should a debugger be shown? ( default: never )
Result: Unicode text -- execute a JavaScript
paste: paste clipboard into the current document
paste
[clipping to selectionboolean] -- should contents be clipped to the current selection? ( default: false )
Events Listing for Adobe Photoshop CS
adjust: apply an adjustment to one or more art layers (from Adjustment Suite)
adjustart layer -- the art layer object or objects to be operated upon
usinganything -- name of options class that the method should be invoked with. Must be a name of a class that
inherits from adjustment options
[with optionsadjustment options] -- options for method
apply: apply the layer comp to the document (from Photoshop Suite)
applylayer comp -- the layer comp object or objects to be operated upon
apply layer style: (from Photoshop Suite)
apply layer styleart layer -- the art layer object or objects to be operated upon
usingUnicode text -- name of the layer style to apply
change mode: change the mode of the document (from Photoshop Suite)
change modedocument -- the document object or objects to be operated upon
tobitmap/CMYK/grayscale/indexed color/Lab/multichannel/RGB -- name of mode to change to
[with optionschange mode options] -- options for changing the mode
clear: clear current selection (from Miscellaneous Standards Suite)
clear
close: close the document (from Core Suite)
closedocument -- the document object or objects to be operated upon
[savingask/no/yes] -- specifies whether changes should be saved before closing ( default: ask )
contract: contracts the selection (from Photoshop Suite)
contractselection-object -- the selection-object object or objects to be operated upon
byreal -- distance to contract the selection by (unit value)
convert: convert the document from using one color profile to using an other (from Photoshop Suite)
convertdocument -- the document object or objects to be operated upon
to profileUnicode text -- name of color profile to convert to. Either a string specifying a specific color profile or
'Working RGB', 'Working CMYK', 'Working Gray', 'Lab Color' meaning one of the working color spaces or Lab color
intentabsolute colorimetric/perceptual/relative colorimetric/saturation intent -- conversion intent
[blackpoint compensationboolean] -- use black point compensation?
[ditheringboolean] -- use dither? ( default: true )
convert color: convert a object from one color model to another (from Color Suite)
convert colorcolor value -- color to convert
toCMYK/grayscale/HSB/Lab/RGB/RGB Hex -- color model to convert to
Result: color value -- convert a object from one color model to another
convert to shape: converts the text item and its containing layer to a fill layer with the text changed to a
clipping path (from Photoshop Suite)
convert to shapetext-object -- the text-object object or objects to be operated upon
copy: copy current selection to the clipboard (from Miscellaneous Standards Suite)
copy
copy merged: copy current selection to the clipboard. Include data in all visible layers. (from
Miscellaneous Standards Suite)
copy merged
count: Return the number of elements of a particular class within an object (from Core Suite)
countreference -- the object whose elements are to be counted
eachtype class -- the class of the elements to be counted.
Result: integer -- the number of elements
create PDF presentation: create a PDF presentation file (from Photoshop Suite)
create PDF presentation
from files list of alias -- list of input files to include in the outputto filefile specification -- location of the output file
[with optionspresentation options] -- options for the PDF presentation
Result: Unicode text -- create a PDF presentation file
create photo gallery: create a web photo gallery (from Photoshop Suite)
create photo gallery
from folderalias -- folder of files to processto folderalias -- location for output files
[with optionsgallery options] -- options for the web photo gallery
Result: Unicode text -- create a web photo gallery
create selection: make a selection from this path (from Path Suite)
create selectionpath item -- the path item object or objects to be operated upon
[feather amountreal] -- the feather amount in pixels
[antialiasingboolean] -- use anti aliasing for the selection
[operationdiminished/extended/intersected/replaced] -- the operation mode for the selection
create work path: creates a work path based on the text object (from Photoshop Suite)
create work pathtext-object -- the text-object object or objects to be operated upon
crop: crop the document (from Photoshop Suite)
cropdocument -- the document object or objects to be operated upon
boundslist -- area to crop (unit value)
[anglereal] -- angle of cropping bounds ( default: 0.0 )
[widthreal] -- width of resulting document (unit value)
[heightreal] -- height of resulting document (unit value)
cut: cut current selection to the clipboard (from Miscellaneous Standards Suite)
cut
delete: Remove an element from an object (from Core Suite)
deletereference -- the element to delete
deselect: unselect this path item, no paths items are selected (from Path Suite)
deselectpath item -- the path item object or objects to be operated upon
deselect: (from Photoshop Suite)
deselectdocument -- the document object or objects to be operated upon
do action: play an action from the Actions Palette (from Miscellaneous Standards Suite)
do actionUnicode text -- the name of the action to play (note that the case of letters in the Action name is important
and must match the case of the name in the Actions palette)
fromUnicode text -- the name of the action set containing the action being played (note that the case of letters
in the Action Set name is important and must match the case of the name in the Actions palette)
do javascript: execute a JavaScript (from Miscellaneous Standards Suite)
do javascriptanything -- JavaScript code or file to execute
[with arguments list of anything] -- arguments to pass to the JavaScript routine
[show debuggerbefore running/never/on runtime error] -- when should a debugger be shown? ( default: never )
Result: Unicode text -- execute a JavaScript
duplicate: Duplicate one or more object(s) (from Core Suite)
duplicatereference -- the object(s) to duplicate
[tolocation reference] -- the new location for the object(s)
[with propertiesrecord] -- new values for the properties of the duplicated element
Result: reference -- to the duplicated object(s)
equal colors: are the colors visually equal? (from Color Suite)
equal colorscolor value -- the cPsBaseColor object to be operated upon
withcolor value
Result: boolean -- are the colors visually equal?
exists: Verify if an object exists (from Core Suite)
existsreference -- the object in question
Result: boolean -- true if it exists, false if not
expand: expand selection (from Photoshop Suite)
expandselection-object -- the selection-object object or objects to be operated upon
byreal -- distance to expand the selection by (unit value)
export: (from Photoshop Suite)
exportdocument -- the document object or objects to be operated upon
infile specification -- the file to export to
[asIllustrator paths] -- the type of export ( default: Illustrator paths )
[with optionsIllustrator paths export options] -- options for the export type specified
feather: feather edges of selection (from Photoshop Suite)
featherselection-object -- the selection-object object or objects to be operated upon
byreal -- amount to feather the edge by (unit value)
fill: fills the selection (from Photoshop Suite)
fillselection-object -- the selection-object object or objects to be operated upon
with contentsanything -- a color or a history state
[blend modebehind mode/clear mode/color blend/color burn/color dodge/darken/difference/dissolve/exclusion/
hard light/hue blend/lighten/linear burn/linear dodge/linear light/luminosity/multiply/normal/overlay/pin light/saturation
blend/screen/soft light/vivid light] -- ( default: normal )
fill path: fill the path with the following information (from Path Suite)
fill pathpath item -- the path item object or objects to be operated upon
[with contentsanything] -- color of the fill for this path
[blend modebehind mode/clear mode/color blend/color burn/color dodge/darken/difference/dissolve/exclusion/
hard light/hue blend/lighten/linear burn/linear dodge/linear light/luminosity/multiply/normal/overlay/pin light/saturation
blend/screen/soft light/vivid light] -- blending mode of the fill for this path
[opacityreal] -- opacity of the fill for this path
[preserving transparencyboolean] -- preserve the transparency of the file for this path
[feather amountreal] -- the feather amount in pixels
[antialiasingboolean] -- use all subpaths when doing fill
filter: apply a filter to one or more art layers (from Filter Suite)
filterart layer -- the art layer object or objects to be operated upon
usinganything -- name of options class that the method should be invoked with. Must be a name of a class that
inherits from filter options
[with optionsfilter options] -- options for method
flatten: flatten all layers in the document (from Photoshop Suite)
flattendocument -- the document object or objects to be operated upon
flip canvas: flip the canvas horizontally or vertically (from Photoshop Suite)
flip canvasdocument -- the document object or objects to be operated upon
directionhorizontal/vertical -- which way to flip the canvas
grow: grow selection to include all adjacent pixels falling within the specified tolerance range (from
Photoshop Suite)
growselection-object -- the selection-object object or objects to be operated upon
import annotations: import annotations into the document (from Photoshop Suite)
import annotationsdocument -- the document object or objects to be operated upon
fromalias -- document to import annotations from
invert: invert the selection (from Photoshop Suite)
invertselection-object -- the selection-object object or objects to be operated upon
link: link the layer with another layer (from Photoshop Suite)
linklayer -- the layer object or objects to be operated upon
withlayer -- layer to link to
load: load the selection from a channel (from Photoshop Suite)
loadselection-object -- the selection-object object or objects to be operated upon
fromchannel -- the channel to load the selection from
[combination typediminished/extended/intersected/replaced] -- how to combine the channel contents with the
existing selection ( default: replaced )
[invertingboolean] -- select the inverse of the channel contents? ( default: false )
make: Make a new element (from Core Suite)
make
newtype class -- the class of the new element.atlocation reference -- the location at which to insert the element
[with dataanything] -- the initial data for the element
[with propertiesrecord] -- the initial values for the properties of the element
Result: reference -- to the new object(s)
make clipping path: make this path item the clipping path for this document (from Path Suite)
make clipping pathpath item -- the path item object or objects to be operated upon
[flatnessreal] -- flatness in device pixels
make work path: make this selection item the work path for this document (from Photoshop Suite)
make work pathselection-object -- the selection-object object or objects to be operated upon
[tolerancereal] -- tolerance in pixels
merge: merge an art layer, layer set or a spot channel. Merging a layer returns a reference to the resulting
layer. Merging a channel does not return any value (from Photoshop Suite)
mergechannel -- the channel object or objects to be operated upon
merge visible layers: flatten all visible layers in the document (from Photoshop Suite)
merge visible layersdocument -- the document object or objects to be operated upon
move: Move object(s) to a new location (from Core Suite)
movereference -- the object(s) to move
tolocation reference -- the new location for the object(s)
Result: reference -- to the object(s) after they have been moved
open: open the specified document file(s) (from Core Suite)
Preview/Filmstrip/JPEG/PCX/PDF/Photo CD/Photoshop DCS 1.0/Photoshop DCS 2.0/Photoshop EPS/Photoshop format/
Photoshop PDF/PICT file/PICT resource/Pixar/PNG/Portable Bitmap/raw/Scitex CT/SGI RGB/SoftImage/Targa/TIFF/
Wavefront RLA/Wireless Bitmap] -- open document as the specified type
[with optionsopen options] -- options for the file type specified
[showing dialogsalways/error dialogs/never] -- should a dialog be displayed when a file is opened
paste: paste clipboard into the current document (from Miscellaneous Standards Suite)
paste
[clipping to selectionboolean] -- should contents be clipped to the current selection? ( default: false )
print: print the specified object(s) (from Core Suite)
printanything -- the file(s) or document(s) to be printed
[postscript encodingASCII/binary/JPEG] -- encoding type ( default: binary )
[source spacedocument space/proof space] -- color space for source ( default: document space )
[print spaceUnicode text] -- color space for printer. Can be nothing (meaning same as source); 'Working RGB',
'Working CMYK', 'Working Gray', 'Lab Color' (meaning one of the working spaces or Lab color); or a string specifying a
specific colorspace (default is same as source)
[intentabsolute colorimetric/perceptual/relative colorimetric/saturation intent] -- if the print space is different
from the source space, this argument will be used as the color conversion intent ( default: relative colorimetric )
[blackpoint compensationboolean] -- if the print space is different from the source space, this argument indicates
if the color conversion should use black point compensation ( default: true )
purge: purges one or more caches (from Photoshop Suite)
purgeall caches/clipboard cache/history caches/undo caches -- what to purge
quit: quit the application (from Core Suite)
quit
rasterize: (from Photoshop Suite)
rasterizeart layer -- the art layer object or objects to be operated upon
affectingall linked layers/entire layer/fill content/layer clipping path/shape/text contents -- what to rasterize
recapture: recapture the current layer state(s) for this layer comp (from Photoshop Suite)
recapturelayer comp -- the layer comp object or objects to be operated upon
reset from comp: reset the layer comp state to the document state (from Photoshop Suite)
reset from complayer comp -- the layer comp object or objects to be operated upon
resize canvas: change the size of the canvas (from Photoshop Suite)
resize canvasdocument -- the document object or objects to be operated upon
left/top right] -- point to rotate about ( default: middle center )
rotate canvas: rotate canvas of document (from Photoshop Suite)
rotate canvasdocument -- the document object or objects to be operated upon
anglereal -- number of degrees to rotate. A positive angle will rotate the canvas clockwise; a negative value will
rotate the canvas counter-clockwise
save: save the specified document (from Core Suite)
savedocument -- the document object or objects to be operated upon
[infile specification] -- the file to save the document in
[asAlias PIX/BMP/CompuServe GIF/Electric Image/JPEG/PCX/Photoshop DCS 1.0/Photoshop DCS 2.0/Photoshop
EPS/Photoshop format/Photoshop PDF/PICT file/PICT resource/Pixar/PNG/Portable Bitmap/raw/Scitex CT/SGI RGB/
SoftImage/Targa/TIFF/Wavefront RLA/Wireless Bitmap] -- the file type to save the document as
[copyingboolean] -- save as copy leaving original open. Unsaved files cannot be saved as copy
[appendinglowercase extension/no extension/uppercase extension] -- append an extension to the document
name
[with optionssave options] -- options for the file type specified
Result: document -- save the specified document
scale: (from Photoshop Suite)
scalelayer -- the layer object or objects to be operated upon
left/top right] -- point to scale about ( default: middle center )
select: make this path item the active or selected path item (from Path Suite)
selectpath item -- the path item object or objects to be operated upon
select: change the selection (from Photoshop Suite)
selectdocument -- the document object or objects to be operated upon
region list of anything -- list of corners of the selection (in pixels)
[combination typediminished/extended/intersected/replaced] -- how to combine the new selection with the
existing selection ( default: replaced )
[feather amountreal] -- feather amount ( default: 0.0 )
[antialiasingboolean] -- whether to use antialiasing ( default: true )
select all: select the entire image (from Photoshop Suite)
select alldocument -- the document object or objects to be operated upon
select border: select the border of the selection (from Photoshop Suite)
select borderselection-object -- the selection-object object or objects to be operated upon
widthreal -- width of border selection (unit value)
similar: grow selection to include pixels throughout the image falling within the tolerance range (from
Photoshop Suite)
similarselection-object -- the selection-object object or objects to be operated upon
toleranceintegerantialiasingboolean
smooth: (from Photoshop Suite)
smoothselection-object -- the selection-object object or objects to be operated upon
split channels: split channels of the document (from Photoshop Suite)
split channelsdocument -- the document object or objects to be operated upon
Result: list of document -- split channels of the document
store: save the selection as a channel (from Photoshop Suite)
storeselection-object -- the selection-object object or objects to be operated upon
intochannel -- the channel to save the selection to
[combination typediminished/extended/intersected/replaced] -- how to add the selection to the existing
contents of the channel ( default: replaced )
stroke: strokes the selection (from Photoshop Suite)
strokeselection-object -- the selection-object object or objects to be operated upon
using coloranything -- color to stroke selection withwidthinteger -- width of stroke (in pixels)
[locationcenter/inside/outside] -- ( default: center )
[blend modebehind mode/clear mode/color blend/color burn/color dodge/darken/difference/dissolve/exclusion/
hard light/hue blend/lighten/linear burn/linear dodge/linear light/luminosity/multiply/normal/overlay/pin light/saturation
blend/screen/soft light/vivid light] -- ( default: normal )
trap: apply trap to a CMYK document (from Photoshop Suite)
trapdocument -- the document object or objects to be operated upon
widthinteger -- trap width in pixels
trim: (from Photoshop Suite)
trimdocument -- the document object or objects to be operated upon
[basing trim onbottom right pixel/top left pixel/transparent pixels] -- color or type of pixels to base trim on (
default: top left pixel )
[top trimboolean] -- trim away top of document ( default: true )
[left trimboolean] -- trim away left of document ( default: true )
[bottom trimboolean] -- trim away bottom of document ( default: true )
[right trimboolean] -- trim away right of document ( default: true )
unlink: unlink the layer (from Photoshop Suite)
unlinklayer -- the layer object or objects to be operated upon
web safe color: find the closest web safe color for a color (from Color Suite)
web safe color
forcolor value
Result: RGB color -- find the closest web safe color for a color
Classes Listing for Adobe Photoshop CS
Class add noise: apply the add noise filter
Elements:
Super classes:
filter options
Properties:
amount real
distribution Gaussian/uniform
monochromatic boolean
Class adjustment options: options used with the adjust method
version Unicode text [r/o] -- the version of Adobe Photoshop application
Class art layer: any layer that can contain data
Plural form:
art layers
Elements:
Super classes:
layer
Properties:
best type type class [r/o] -- (inherited from the “layer” class) the best type for the object's value
class type class [r/o] -- (inherited from the “layer” class) the object's class
default type type class [r/o] -- (inherited from the “layer” class) the default type for the object's value
index integer [r/o] -- (inherited from the “layer” class) the index of this instance of the object
properties record -- (inherited from the “layer” class) all of this object's properties returned in a single record
all locked boolean -- (inherited from the “layer” class)
blend mode color blend/color burn/color dodge/darken/difference/dissolve/exclusion/hard light/hue blend/lighten/
linear burn/linear dodge/linear light/luminosity/multiply/normal/overlay/pass through/pin light/saturation blend/screen/soft
light/vivid light -- (inherited from the “layer” class)
bounds list [r/o] -- (inherited from the “layer” class) Bounding rectangle of the Layer
container reference [r/o] -- (inherited from the “layer” class) the object's container
linked layers list of layer [r/o] -- (inherited from the “layer” class)
name Unicode text -- (inherited from the “layer” class) the name of the layer
opacity real -- (inherited from the “layer” class) master opacity of layer ( 0.0 - 100.0 )
visible boolean -- (inherited from the “layer” class)
background layer boolean -- is the layer a background layer?
fill opacity real -- the interior opacity of the layer (between 0.0 and 100.0)
grouped boolean -- is the layer grouped with the layer below?. Photoshop CS changed the menu name to Create/
layer/hue saturation layer/inversion layer/levels layer/normal/pattern fill layer/posterize layer/selective color layer/solid fill
layer/text layer/threshold layer -- to create a text layer set this property to 'text layer' on an empty art layer of type
'normal'
pixels locked boolean
position locked boolean
text object text-object [r/o] -- the text item that is associated with the art layer. Only valid for art layers whose 'has
text' is true
transparent pixels locked boolean
Class automatic contrast: adjust contrast of the selected channels automatically
Elements:
Super classes:
adjustment options
Properties:
Class automatic levels: adjust levels of the selected channels using auto levels option
Elements:
Super classes:
adjustment options
Properties:
Class Bitmap mode options: Settings related to changing the document mode to Bitmap
Elements:
Super classes:
change mode options
Properties:
angle real -- only valid for 'halftone screen' conversions
Class inversion: inverts the currently selected layer or channels
Elements:
Super classes:
adjustment options
Properties:
Class JPEG save options: Settings related to saving a JPEG document
Elements:
Super classes:
save options
Properties:
embed color profile boolean -- embed color profile in document
format options optimized/progressive/standard -- ( default: standard )
matte background color matte/black matte/foreground color matte/Netscape gray/none/semi gray/white matte
quality integer -- quality of produced image ( 0 - 12; default: 3 )
scans integer -- number of scans. Only valid for progressive type JPEG files ( 3 - 5 )
Class Lab color: An Lab color specification
Elements:
Super classes:
color value
Properties:
value_L real -- the L-value (between 0.0 and 100.0)
value_a real -- the a-value (between -128.0 and 127.0)
value_b real -- the b-value (between -128.0 and 127.0)
Class layer: A layer object
Plural form:
layers
Sub classes:
art layer, layer set
Properties:
best type type class [r/o] -- the best type for the object's value
class type class [r/o] -- the object's class
default type type class [r/o] -- the default type for the object's value
index integer [r/o] -- the index of this instance of the object
properties record -- all of this object's properties returned in a single record
all locked boolean
blend mode color blend/color burn/color dodge/darken/difference/dissolve/exclusion/hard light/hue blend/lighten/
linear burn/linear dodge/linear light/luminosity/multiply/normal/overlay/pass through/pin light/saturation blend/screen/soft
light/vivid light
bounds list [r/o] -- Bounding rectangle of the Layer
container reference [r/o] -- the object's container
linked layers list of layer [r/o]
name Unicode text -- the name of the layer
opacity real -- master opacity of layer ( 0.0 - 100.0 )
visible boolean
Class layer comp: A layer composition in a document
Plural form:
layer comps
Properties:
best type type class [r/o] -- the best type for the object's value
class type class [r/o] -- the object's class
default type type class [r/o] -- the default type for the object's value
index integer [r/o] -- the index of this instance of the object
properties record -- all of this object's properties returned in a single record
appearance boolean -- use layer appearance
comment anything -- the description of the layer comp
container reference [r/o] -- the object's container
name Unicode text -- the name of the layer comp
position boolean -- use layer position
selected boolean [r/o] -- the layer comp is currently selected
visibility boolean -- use layer visibility
Class layer set: Layer set
Plural form:
layer sets
Elements:
art layer by name, by numeric index, as a range of elements, before/after another element, satisfying a test
layer by name, by numeric index, as a range of elements, before/after another element, satisfying a test
layer set by name, by numeric index, as a range of elements, before/after another element, satisfying a test
Super classes:
layer
Properties:
best type type class [r/o] -- (inherited from the “layer” class) the best type for the object's value
class type class [r/o] -- (inherited from the “layer” class) the object's class
default type type class [r/o] -- (inherited from the “layer” class) the default type for the object's value
index integer [r/o] -- (inherited from the “layer” class) the index of this instance of the object
properties record -- (inherited from the “layer” class) all of this object's properties returned in a single record
all locked boolean -- (inherited from the “layer” class)
blend mode color blend/color burn/color dodge/darken/difference/dissolve/exclusion/hard light/hue blend/lighten/
linear burn/linear dodge/linear light/luminosity/multiply/normal/overlay/pass through/pin light/saturation blend/screen/soft
light/vivid light -- (inherited from the “layer” class)
bounds list [r/o] -- (inherited from the “layer” class) Bounding rectangle of the Layer
container reference [r/o] -- (inherited from the “layer” class) the object's container
linked layers list of layer [r/o] -- (inherited from the “layer” class)
name Unicode text -- (inherited from the “layer” class) the name of the layer
opacity real -- (inherited from the “layer” class) master opacity of layer ( 0.0 - 100.0 )
visible boolean -- (inherited from the “layer” class)
enabled channels list of channel -- channels that are enabled for the layer set. Must be a list of component channels
Class lens flare: apply the lens flare filter
Elements:
Super classes:
filter options
Properties:
brightness integer -- (range: 10 - 300)
flare center list -- position (unit value)
lens type Movie Prime/Prime 105/Prime 35/zoom
Class levels adjustment: adjust levels of the selected channels
Elements:
Super classes:
adjustment options
Properties:
input range start integer
input range end integer
input range gamma real
output range start integer
output range end integer
Class maximum filter: apply the maximum filter
Elements:
Super classes:
filter options
Properties:
radius real -- in pixels
Class median noise: apply the median noise filter
Elements:
Super classes:
filter options
Properties:
radius real -- in pixels
Class minimum filter: apply the minimum filter
Elements:
Super classes:
filter options
Properties:
radius real -- in pixels
Class mix channels: only valid for RGB or CMYK documents
Elements:
Super classes:
adjustment options
Properties:
output channels list of anything -- list of channel specifications. For each component channel that the document has,
you must specify a list of adjustment values followed by a 'constant' value
monochrome mixing boolean -- use monochrome mixing? If this is true you can only specify one channel value (
default: false ) ( default: false )
Class motion blur: apply the motion blur filter
Elements:
Super classes:
filter options
Properties:
angle integer
radius real -- in pixels
Class no color: represents a missing color
Elements:
Super classes:
color value
Properties:
Class NTSC colors: apply the NTSC colors filter
Elements:
Super classes:
filter options
Properties:
Class ocean ripple: apply the ocean ripple filter
Elements:
Super classes:
filter options
Properties:
ripple size integer -- (range: 1 - 15)
ripple magnitude integer -- (range: 0 - 20)
Class offset filter: apply the offset filter
Elements:
Super classes:
filter options
Properties:
horizontal offset real -- (unit value)
vertical offset real -- (unit value)
undefined areas repeat edge pixels/set to layer fill/wrap around
Class open options: used with options on the open command
Sub classes:
EPS open options, PDF open options, Photo CD open options, raw format open options
Class path item: An artwork path item
Plural form:
path items
Elements:
sub path item by numeric index, as a range of elements, before/after another element, satisfying a test
Properties:
best type type class [r/o] -- the best type for the object's value
class type class [r/o] -- the object's class
default type type class [r/o] -- the default type for the object's value
index integer [r/o] -- the index of this instance of the object
properties record -- all of this object's properties returned in a single record
container reference [r/o] -- the object's container
entire path list of sub path info [r/o] -- all the path item's sub paths
kind clipping/normal/text mask/vector mask/work
name Unicode text -- the name of the path item
Class path point: A point on a path
Plural form:
path points
Properties:
best type type class [r/o] -- the best type for the object's value
class type class [r/o] -- the object's class
default type type class [r/o] -- the default type for the object's value
index integer [r/o] -- the index of this instance of the object
properties record -- all of this object's properties returned in a single record
anchor list [r/o] -- the position (coordinates) of the anchor point
container reference [r/o] -- the object's container
kind corner point/smooth point [r/o] -- the type of point: smooth/corner
left direction list [r/o] -- location of the left direction point (in position)
right direction list [r/o] -- location of the right direction point (out position)
Class path point info: Path point information (returned by entire path dataClassProperty of path item
class)
Properties:
anchor list -- the position of the anchor (in coordinates)
kind corner point/smooth point -- the point type, smooth/corner
left direction list -- location of the left direction point (in position)
right direction list -- location of the left direction point (out position)
Class PDF open options: Settings related to opening a generic PDF document
Elements:
Super classes:
open options
Properties:
constrain proportions boolean -- constrain proportions of image
height real -- height of image (unit value)
mode CMYK/grayscale/Lab/RGB -- the document mode
page integer -- number of page to open
resolution real -- the resolution of the document (in pixels per inch)
use antialias boolean -- use antialias?
width real -- width of image (unit value)
Class PDF save options: Settings related to saving a pdf document
Elements:
Super classes:
save options
Properties:
downgrade color profile boolean -- should the embedded color profile be downgraded to version 2
embed color profile boolean -- embed color profile in document
embed fonts boolean -- embed fonts? Only valid if a text layer is included
encoding JPEG/ZIP -- ( default: ZIP )
image interpolation boolean -- use image interpolation?
JPEG quality integer -- quality of produced image. Only valid for JPEG encoded PDF documents ( 0 - 12 )
save alpha channels boolean -- save alpha channels
save annotations boolean -- save annotations
save layers boolean -- save layers
save spot colors boolean -- save spot colors
transparency boolean
use outlines for text boolean -- use outlines for text? Only valid if vector data is included
vector data boolean -- include vector data
Class Photo CD open options: Settings related to opening a PhotoCD document
Elements:
Super classes:
open options
Properties:
color profile name Unicode text -- profile to use when reading the image
color space Lab 16/Lab 8/RGB 16/RGB 8 -- colorspace for image
orientation landscape/portrait
pixel size extra large/large/maximum/medium/minimum/small -- dimensions of image
resolution real -- the resolution of the image (in pixels per inch)
Class Photoshop DCS 1.0 save options: Settings related to saving a Photoshop DCS 1.0 document
Elements:
Super classes:
save options
Properties:
DCS color composite/grayscale composite/no composite PostScript -- ( default: color composite )
embed color profile boolean -- embed color profile in document
encoding ASCII/binary/high quality JPEG/low quality JPEG/maximum quality JPEG/medium quality JPEG -- type of
transition type when switching to the next document ( default: none )
transparency boolean -- ( default: true )
vector data boolean -- include vector data ( default: false )
view boolean -- view the document after saving ( default: false )
Class radial blur: apply the radial blur filter
Elements:
Super classes:
filter options
Properties:
amount integer -- from 0 to 100
blur method spin/zoom
quality best/draft/good
Class raw format open options: Settings related to opening a raw format document
Elements:
Super classes:
open options
Properties:
bits per channel integer -- number of bits for each channel (8 or 16)
byte order IBM PC/Mac OS -- only relevant for images with 16 bits per channel
header size integer
height integer -- height of image (in pixels)
interleave channels boolean -- are the channels in the image interleaved?
number of channels integer -- number of channels in image
retain header boolean -- retain header when saving?
width integer -- width of image (in pixels)
Class raw save options: Settings related to saving a document in raw format
Elements:
Super classes:
save options
Properties:
save alpha channels boolean -- save alpha channels
save spot colors boolean -- save spot colors
Class RGB color: An RGB color specification
Elements:
Super classes:
color value
Properties:
red real -- the red color value ( 0.0 - 255.0; default: 255.0 )
green real -- the green color value ( 0.0 - 255.0; default: 255.0 )
blue real -- the blue color value ( 0.0 - 255.0; default: 255.0 )
Class RGB hex color: A hexadecimal specification of an RGB color
Elements:
Super classes:
color value
Properties:
hex value Unicode text -- the hex representation of the color. (Example '10FF4B')
Class ripple: apply the ripple filter
Elements:
Super classes:
filter options
Properties:
amount integer -- (range: -999 - 999)
ripple size large/medium/small
Class save options: used with options on the save command
Sub classes:
BMP save options, EPS save options, GIF save options, JPEG save options, PDF save options, Photoshop DCS 1.0 save
options, Photoshop DCS 2.0 save options, Photoshop save options, PICT file save options, PICT resource save options, Pixar
save options, PNG save options, raw save options, SGI RGB save options, Targa save options, TIFF save options
Class selection-object: The selection of the document
Properties:
best type type class [r/o] -- the best type for the object's value
class type class [r/o] -- the object's class
default type type class [r/o] -- the default type for the object's value
properties record -- all of this object's properties returned in a single record
container reference [r/o] -- the object's container
Class selective color:
Elements:
Super classes:
adjustment options
Properties:
selection method absolute/relative
reds list of real -- Array of 4 values: cyan, magenta, yellow, black
yellows list of real -- Array of 4 values: cyan, magenta, yellow, black
greens list of real -- Array of 4 values: cyan, magenta, yellow, black
cyans list of real -- Array of 4 values: cyan, magenta, yellow, black
blues list of real -- Array of 4 values: cyan, magenta, yellow, black
magentas list of real -- Array of 4 values: cyan, magenta, yellow, black
whites list of real -- Array of 4 values: cyan, magenta, yellow, black
neutrals list of real -- Array of 4 values: cyan, magenta, yellow, black
blacks list of real -- Array of 4 values: cyan, magenta, yellow, black
Class settings-object: Preferences for Photoshop
Properties:
best type type class [r/o] -- the best type for the object's value
class type class [r/o] -- the object's class
default type type class [r/o] -- the default type for the object's value
properties record -- all of this object's properties returned in a single record
additional plugin folder alias
append extension ask/no/yes
ask before saving layered TIFF boolean
auto update open documents boolean
beep when done boolean
cache levels integer
color picker Adobe color picker/Apple color picker/plug in color picker/Windows color picker
column gutter real -- gutter of columns (in points)
column width real -- width of columns (in points)
create first snapshot boolean -- automatically make first snapshot when a new document is created?
display color channels in color boolean
dynamic color sliders boolean
edit log items concise/detailed/sessiononly -- options for edit log items