Adobe InDesign CS5 Server (7.0) Object Model JS: TimingTargets

InDesign Server CS5

Class

TimingTargets

 A collection of timing target.

QuickLinks

[], add, anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

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

ParameterTypeDescription
indexnumberThe index.

TimingTarget add (dynamicTarget: varies[, delaySeconds: number=0][, withProperties: Object])
Adds a new target item.

ParameterTypeDescription
dynamicTargetBehavior
Graphic
MediaItem
PageItem
A page item target that is an animation, media, or mso. Can accept: PageItem, Graphic, Behavior or MediaItem.
delaySecondsnumberThe time delay in seconds for a target. (Optional) (default: 0)
withPropertiesObjectInitial values for properties of the new TimingTarget (Optional)

TimingTarget anyItem ()
Returns any TimingTarget in the collection.

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

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

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

TimingTarget item (index: varies)
Returns the TimingTarget with the specified index or name.

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

Array of TimingTarget itemByRange (from: varies, to: varies)
Returns the TimingTargets within the specified range.

ParameterTypeDescription
fromLong Integer
String
TimingTarget
The TimingTarget, index, or name at the beginning of the range. Can accept: TimingTarget, Long Integer or String.
toLong Integer
String
TimingTarget
The TimingTarget, index, or name at the end of the range. Can accept: TimingTarget, Long Integer or String.

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

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

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

ParameterTypeDescription
objTimingTargetThe TimingTarget whose index comes before the desired TimingTarget.

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

ParameterTypeDescription
objTimingTargetThe index of the TimingTarget that follows the desired TimingTarget.

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

Element of

TimingGroup.timingTargets

Jongware, 23-Mar-2011 v3.0.3dContents :: Index