Specifications

Table Of Contents
Adobe Photoshop CS6
JavaScript Scripting Reference JavaScript Object Reference 121
HistoryStates
The collection of Guide objects in the document.
Access through Document
.historyStates collection property. For example, this accesses one of the states in
the collection by index:
myState = app.activeDocument.historyStates[7];
Properties
Methods
Property Value type What it is
length
number
Read-only. The number of elements in the HistoryStates
collection.
parent
Document
Read-only. The containing document.
typename
string
Read-only. The class name of the referenced
HistoryStates object.
Method Parameter type Returns What it does
getByName
(name)
string
Guide
Get the first element in the
HistoryStates collection with the
provided name.