
Photoshop 7.0 Scripting Guide
12
Scripting basics
Values
2
Visual Basic
In Visual Basic, you can break a long statement into multiple lines in the Code window by
using the line continuation character, which is a space followed by an underscore ( _).
2.4 Values
Values are the data your scripts use to do their work. Most of the time, the values used in your
scripts will be numbers or text.
T
ABLE
2.1
AppleScript Values
Value type:
What it is:
Example:
boolean
Logical true or false.
true
integer
Whole numbers (no decimal
points). Integers can be
positive or negative.
14
real
A number which may
contain a decimal point.
13.9972
string
A series of text characters.
Strings appear inside
(straight) quotation marks.
"I am a string"
list
An ordered list of values.
The values of a list may be
any type.
{10.0, 20.0, 30.0, 40.0}
object reference
A specific reference to an
object.
current document
record
An unordered list of
properties, Each property is
identified by its label.
{name: "you", index: 1}