Adobe InDesign CS3 (5.0) Object Model JS: Changes

InDesign CS3

Class

Changes

 A collection of changes.

QuickLinks

anyItem, count, everyItem, firstItem, item, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

Change anyItem ()
Returns any Change in the collection.

number count ()
Displays the number of elements in the Change.

Array of Change everyItem ()
Returns every Change in the collection.

Change firstItem ()
Returns the first Change in the collection.

Change item (index: any)
Returns the Change with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer or String.

Change itemByName (name: string)
Returns the Change with the specified name.

ParameterTypeDescription
namestringThe name.

Array of Change itemByRange (from: any, to: any)
Returns the Changes within the specified range.

ParameterTypeDescription
fromChange
Long Integer
String
The Change, index, or name at the beginning of the range. Can accept: Change, Long Integer or String.
toChange
Long Integer
String
The Change, index, or name at the end of the range. Can accept: Change, Long Integer or String.

Change lastItem ()
Returns the last Change in the collection.

Change middleItem ()
Returns the middle Change in the collection.

Change nextItem (obj: Change)
Returns the Change whose index follows the specified Change in the collection.

ParameterTypeDescription
objChangeThe Change whose index comes before the desired Change.

Change previousItem (obj: Change)
Returns the Change with the index previous to the specified index.

ParameterTypeDescription
objChangeThe index of the Change that follows the desired Change.

string toSource ()
Generates a string which, if executed, will return the Change.

Element of

Story.changes

Jongware, 27-Jun-2010 v3.0.3dContents :: Index