Adobe InDesign CS2 (4.0) Object Model JS: GotoURLBehaviors

InDesign CS2

Class

GotoURLBehaviors

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

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

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

GotoURLBehavior anyItem ()
Returns any GotoURLBehavior in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromGotoURLBehavior
Long
String
The GotoURLBehavior, index, or name at the beginning of the range. Can accept: GotoURLBehavior, Long or String.
toGotoURLBehavior
Long
String
The GotoURLBehavior, index, or name at the end of the range. Can accept: GotoURLBehavior, Long or String.

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

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

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

ParameterTypeDescription
objGotoURLBehaviorThe GotoURLBehavior whose index comes before the desired GotoURLBehavior.

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

ParameterTypeDescription
objGotoURLBehaviorThe index of the GotoURLBehavior that follows the desired GotoURLBehavior.

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

Element of

Button.gotoURLBehaviors

FormField.gotoURLBehaviors

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