Adobe InDesign CS5 (7.0) Object Model JS: GotoURLBehaviors

InDesign CS5

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

ParameterTypeDescription
indexnumberThe index.

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

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

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

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