JavaScript Scripting Reference
HistoryState
A version of the document stored automatically (and added to the
preserves the document's state, each time the document is changed. See
about the
Note:
Because the
name,
The following example uses correct syntax to refer to a
AddLayerMask
documents(0).historyState("AddLayerMask").snapshot = true
The following example, which uses an upper case A in the object name, is incorrect:
documents(0).HistoryState("AddLayerMask").snapshot = true
Properties
Property
name
parent
snapshot
typename
collection.
HistoryStates
HistoryState
, rather than the class name,
historyState
and then assign its
Value Type
string
object (Document)
boolean
string
Adobe Photoshop CS3
class is also a property of the
HistoryState
property value:
snapshot
What it is
Read-only. The
Read-only. The
Read-only. Indicates whether the history state is a snapshot.
Read-only. The class name of the referenced
object.
JavaScript Object Reference
collection), which
HistoryStates
HistoryStates
Document
object, you use the property
, in your code.
object named
HistoryState
object's name.
HistoryState
object's container.
HistoryState
118
for information
HistoryState