EDOBE XDOM EM Specifications Page 40

  • Download
  • Add to my manuals
  • Print
  • Page
    / 231
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 39
Adobe Photoshop CS6
JavaScript Scripting Reference JavaScript Object Reference 40
ActionList
This object provides an array-style mechanism for storing data. It can be used for low-level access into
Photoshop.
This object is ideal when storing data of the same type. All items in the list must be of the same type.
You can use the "put" methods, such as putBoolean
(), to append new elements, and can clear the entire
list using clear
(), but cannot otherwise modify the list.
Note: The
ActionList object is part of the Action Manager functionality. For details on using the Action
Manager, see the Photoshop CS6 Scripting Guide.
Properties
Methods
With the exception of the clear() method, you use the methods of this object to either get the value of a
specific type of data in the list or set (put) the value type.
Property Value type What it is
count
number
Read-only. The number of commands that comprise the
action.
typename
string
Read-only. The class name of the referenced
ActionList object.
Method Parameter type Returns What it does
clear
()
Clears the list.
getBoolean
(index)
number
boolean
Gets the value of a list element of
type boolean.
getClass
(index)
number
number
Gets the value of a list element of
type class.
getData
(index)
number
string
Gets raw byte data as a string
value.
getDouble
(index)
number
number
Gets the value of a list element of
type double.
getEnumerationType
(index)
number
number
Gets the enumeration type of a list
element.
getEnumerationValue
(index)
number
number
Gets the enumeration value of a
list element.
getInteger
(index)
number
number
Gets the value of a list element of
type integer.
Page view 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 230 231

Comments to this Manuals

No comments