InDesign2026
API 21.5.1.73
Collection of TimingTarget

TimingTargets

A collection of timing target.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

→ TimingTarget

Returns the TimingTarget with the specified index.

index Number The index.
→ TimingTarget

Adds a new target item.

dynamicTarget Behavior | Graphic | PageItem | MediaItem A page item target that is an animation, media, or mso. Can accept: PageItem, Graphic, Behavior or MediaItem.
delaySeconds? Number The time delay in seconds for a target.
withProperties? Object Initial values for properties of the new TimingTarget
→ TimingTarget

Returns any TimingTarget in the collection.

→ Number

Displays the number of elements in the TimingTarget.

→ TimingTarget[]

Returns every TimingTarget in the collection.

→ TimingTarget

Returns the first TimingTarget in the collection.

→ TimingTarget

Returns the TimingTarget with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
→ TimingTarget[]

Returns the TimingTargets within the specified range.

from LongInteger | TimingTarget | String The TimingTarget, index, or name at the beginning of the range. Can accept: TimingTarget, Long Integer or String.
to LongInteger | TimingTarget | String The TimingTarget, index, or name at the end of the range. Can accept: TimingTarget, Long Integer or String.
→ TimingTarget

Returns the last TimingTarget in the collection.

→ TimingTarget

Returns the middle TimingTarget in the collection.

→ TimingTarget

Returns the TimingTarget whose index follows the specified TimingTarget in the collection.

obj TimingTarget The TimingTarget whose index comes before the desired TimingTarget.
→ TimingTarget

Returns the TimingTarget with the index previous to the specified index.

obj TimingTarget The index of the TimingTarget that follows the desired TimingTarget.
→ String

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

Object of 1

Properties elsewhere that hold a TimingTargets.