Adobe InDesign CS2 (4.0) Object Model JS: GotoLastPageBehaviors

InDesign CS2

Class

GotoLastPageBehaviors

 A collection of goto last page behavior objects.

QuickLinks

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

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

GotoLastPageBehavior add ([withProperties: Object])
Creates a new GotoLastPageBehavior.

ParameterTypeDescription
withPropertiesObjectInitial values for properties of the new GotoLastPageBehavior (Optional)

GotoLastPageBehavior anyItem ()
Returns any GotoLastPageBehavior in the collection.

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

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

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

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

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

GotoLastPageBehavior itemByID (id: number)
Returns the GotoLastPageBehavior with the specified ID.

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromGotoLastPageBehavior
Long
String
The GotoLastPageBehavior, index, or name at the beginning of the range. Can accept: GotoLastPageBehavior, Long or String.
toGotoLastPageBehavior
Long
String
The GotoLastPageBehavior, index, or name at the end of the range. Can accept: GotoLastPageBehavior, Long or String.

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

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

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

ParameterTypeDescription
objGotoLastPageBehaviorThe GotoLastPageBehavior whose index comes before the desired GotoLastPageBehavior.

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

ParameterTypeDescription
objGotoLastPageBehaviorThe index of the GotoLastPageBehavior that follows the desired GotoLastPageBehavior.

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

Element of

Button.gotoLastPageBehaviors

FormField.gotoLastPageBehaviors

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