Руководство Пользователя для Adobe photoshop cs 2.0
Photoshop CS2
Adobe Photoshop CS2 Scripting Guide
Scripting Photoshop CS2 70
●
Look up the class’s properties in the “Objects” chapter of the Adobe Photoshop CS2 AppleScript Scripting
Reference.
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.
CS2 Visual Basic Scripting Reference or the Adobe Photoshop CS2 JavaScript Scripting Reference.
* 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.
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.
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.
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.
chapter in the Adobe Photoshop CS2 JavaScript Scripting Reference.
Class/Object
AppleScript
Properties
Properties
VBScript
Properties
Properties
JavaScript
Properties
Properties
Document
height
width
width
Height
Width
Width
height
width
width
EPS open options
height
width
width
Height
Width
Width
height
width
width
PDF open options
height
width
width
Height
Width
Width
height
width
width
lens flare open
options
options
height
width
width
Height
Width
Width
height
width
width
offset filter
horizontal
offset
vertical offset
offset
vertical offset
HorizontalOffset
VerticalOffset
VerticalOffset
horizontalOffset
verticalOffset
verticalOffset
Text Item
baseline shift*
first line
indent*
height
hyphenation
zone*
leading*
left indent*
position
right indent*
space before*
space after*
width
first line
indent*
height
hyphenation
zone*
leading*
left indent*
position
right indent*
space before*
space after*
width
BaselineShift*
FirstLineIndent*
Height
HyphenationZone*
Leading*
LeftIndent*
Position
RightIndent*
SpaceBefore*
SpaceAfter*
Width
FirstLineIndent*
Height
HyphenationZone*
Leading*
LeftIndent*
Position
RightIndent*
SpaceBefore*
SpaceAfter*
Width
baselineShift*
firstLineIndent*
height
hyphenationZone*
leading*
leftIndent*
position
rightIndent*
spaceBefore*
spaceAfter*
width
firstLineIndent*
height
hyphenationZone*
leading*
leftIndent*
position
rightIndent*
spaceBefore*
spaceAfter*
width
AppleScript VBScript
JavaScript
crop
(bounds, height,
width)
Document.Crop
(Bounds, Height, Width)
document.crop
(bounds, height,
width)
resize canvas
(height, width)
Document.ResizeCanvas
(Height, Width)
document.resizeCanvas
(height, width)