Value Type Defintions - Adobe 19400084 - Photoshop CS3 Extended Manual

Javascript scripting reference
Table of Contents

Advertisement

JavaScript Scripting Reference
The
/Events
/eventName [
(String event name)
/direct parameter type
]
The
/Classes
/className [
(ZString class name)
]
The
/Enumerations
/enumTypeName
<<
/enumValue (String name)
...
>>

Value Type Defintions

For
/parameter type
declarations you make in your own terminology dictionary, you can use declarations provided by
Photoshop or you can use basic value types.
Basic Value Types
The basic value types are shown in the following table:
Name
typeInteger
typeFloat
typeBoolean
typeText
typeAlias
dictionary contains an entry for each event:
<<
/parameterName [
(String name)
/parameter type
]
...
>>
dictionary contains and entry for each class:
<<
/propertyName [
(String name)
/property type
]
...
>>
dictionary contains an entry for each enumerated type:
and
/property type
Code
'long'
'doub'
'bool'
'TEXT'
'alis'
Adobe Photoshop CS3
// Name used in string-based API
// required
// optional; if omitted, no parameter
// optional parameter dictionary
// Name used in string-based API
// required
// required
// other parameters
// Name used in string-based API
// required
// property dictionary
// Name used in string-based API
// required
// required
// other properties
// Name used in string-based API
// required
definitons, you can use the Class and Enumeration type
Description
int32
IEEE 64 bit double
or
TRUE
FALSE
Block of any number of readable characters.
Macintosh file system path.
JavaScript Resource
.
209

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Photoshop cs3

Table of Contents