Adobe InDesign CS6 (8.0) Object Model JS: GotoLastPageBehaviors

InDesign CS6

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 [] (index: number)
Returns the GotoLastPageBehavior with the specified index.

ParameterTypeDescription
indexnumberThe index.

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: varies)
Returns the GotoLastPageBehavior with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer 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: varies, to: varies)
Returns the GotoLastPageBehaviors within the specified range.

ParameterTypeDescription
fromGotoLastPageBehavior
Long Integer
String
The GotoLastPageBehavior, index, or name at the beginning of the range. Can accept: GotoLastPageBehavior, Long Integer or String.
toGotoLastPageBehavior
Long Integer
String
The GotoLastPageBehavior, index, or name at the end of the range. Can accept: GotoLastPageBehavior, Long Integer 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

CheckBox.gotoLastPageBehaviors

ComboBox.gotoLastPageBehaviors

ListBox.gotoLastPageBehaviors

RadioButton.gotoLastPageBehaviors

SignatureField.gotoLastPageBehaviors

TextBox.gotoLastPageBehaviors

Jongware, 28-Apr-2012 v3.0.3hContents :: Index