Adobe InDesign CS4 (6.0) Object Model JS: GotoFirstPageBehaviors

InDesign CS4

Class

GotoFirstPageBehaviors

 A collection of goto first 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

GotoFirstPageBehavior [] (index: number)
Returns the GotoFirstPageBehavior with the specified index.

ParameterTypeDescription
indexnumberThe index.

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

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

GotoFirstPageBehavior anyItem ()
Returns any GotoFirstPageBehavior in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromGotoFirstPageBehavior
Long Integer
String
The GotoFirstPageBehavior, index, or name at the beginning of the range. Can accept: GotoFirstPageBehavior, Long Integer or String.
toGotoFirstPageBehavior
Long Integer
String
The GotoFirstPageBehavior, index, or name at the end of the range. Can accept: GotoFirstPageBehavior, Long Integer or String.

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

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

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

ParameterTypeDescription
objGotoFirstPageBehaviorThe GotoFirstPageBehavior whose index comes before the desired GotoFirstPageBehavior.

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

ParameterTypeDescription
objGotoFirstPageBehaviorThe index of the GotoFirstPageBehavior that follows the desired GotoFirstPageBehavior.

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

Element of

Button.gotoFirstPageBehaviors

FormField.gotoFirstPageBehaviors

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