Adobe PHOTOSHOP CS 2.0 - SCRIPTING GUIDE Manual page 74

Table of Contents

Advertisement

Adobe Photoshop CS2 Scripting Guide
Look up the class's properties in the "Objects" chapter of the Adobe Photoshop CS2 AppleScript Scripting
Reference.
Look up the property in the object's Properties table in the "Objects" chapter of the Adobe Photoshop
CS2 Visual Basic Scripting Reference or the Adobe Photoshop CS2 JavaScript Scripting Reference.
Class/Object
Document
EPS open options
PDF open options
lens flare open
options
offset filter
Text Item
* Unit values based on type ruler setting.
The following table lists the commands/methods that use unit values as parameters or arguments.In some
cases the parameters are required. The VBScript and JavaScript methods are preceded by the ojbect to
which they belong.
To use this table:
For AppleScript commands, look up the command in the "Commands" chapter of the Adobe Photoshop
CS2 AppleScript Scripting Reference.
For VBScript methods, look up the method in the Methods table of the object in the "Interface" chapter
of the Adobe Photoshop CS2 Visual Basic Scripting Reference.
For JavaScript methods, look up the method in the Methods table of the object in the "Interface"
chapter in the Adobe Photoshop CS2 JavaScript Scripting Reference.
AppleScript
crop
(bounds, height,
width)
resize canvas
(height, width)
Photoshop CS2
AppleScript
VBScript
Properties
Properties
height
Height
width
Width
height
Height
width
Width
height
Height
width
Width
height
Height
width
Width
horizontal
HorizontalOffset
offset
VerticalOffset
vertical offset
baseline shift*
BaselineShift*
first line
FirstLineIndent*
indent*
Height
height
HyphenationZone*
hyphenation
Leading*
zone*
LeftIndent*
leading*
Position
left indent*
RightIndent*
position
SpaceBefore*
right indent*
SpaceAfter*
space before*
Width
space after*
width
VBScript
Document.Crop
(Bounds, Height, Width)
Document.ResizeCanvas
(Height, Width)
Scripting Photoshop CS2
JavaScript
Properties
height
width
height
width
height
width
height
width
horizontalOffset
verticalOffset
baselineShift*
firstLineIndent*
height
hyphenationZone*
leading*
leftIndent*
position
rightIndent*
spaceBefore*
spaceAfter*
width
JavaScript
document.crop
(bounds, height,
width)
document.resizeCanvas
(height, width)
70

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Photoshop cs2

Table of Contents