Historystates; Properties; Length; Parent - Adobe 19400084 - Photoshop CS3 Extended Manual

Javascript scripting reference
Table of Contents

Advertisement

JavaScript Scripting Reference

HistoryStates

The collection of
HistoryState
Note:
Because the
name,
The following example uses correct syntax to fill a Selection object (referred to by the variable
selRef ) with an object in the
selRef.fill(activeDocument.historyStates[7])
The following example, which uses an upper case H in the object name, is incorrect:
selRef.fill(activeDocument.HistoryStates[7])

Properties

Property

length

parent

typename

Methods

Method

index

(itemKey)

getByName

(name)
objects in the document. See
HistoryState
objects.
class is also a property of the
HistoryStates
, rather than the class name,
historyStates
HistoryStates
Value Type
number (long)
object (Document)
string
Parameter Type
number
string
Adobe Photoshop CS3
HistoryStates
collection:
What it is
Read-only. The number of elements in the
collection.
Read-only. The
Read-only. The class name of the referenced
HistoryStates
Returns
HistoryState
HistoryState
JavaScript Object Reference
HistoryState
for more information on
Document
object, you use the property
, in your code.
object's container.
HistoryStates
object.
What it does
Gets an element from the
collection.
HistoryStates
Get the first element in the
collection with the
HistoryStates
provided name.
119
HistoryStates

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Photoshop cs3

Table of Contents