InDesign2026
API 21.5.1.73
Collection of OpenFileBehavior

OpenFileBehaviors

A collection of open file behavior objects.

Properties

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

Methods

→ OpenFileBehavior

Returns the OpenFileBehavior with the specified index.

index Number The index.
→ OpenFileBehavior

Creates a new OpenFileBehavior.

withProperties? Object Initial values for properties of the new OpenFileBehavior
→ Number

Displays the number of elements in the OpenFileBehavior.

→ OpenFileBehavior[]

Returns every OpenFileBehavior in the collection.

→ OpenFileBehavior

Returns the first OpenFileBehavior in the collection.

→ OpenFileBehavior

Returns the OpenFileBehavior with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
→ OpenFileBehavior

Returns the OpenFileBehavior with the specified name.

name String The name.
→ OpenFileBehavior[]

Returns the OpenFileBehaviors within the specified range.

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

Returns the last OpenFileBehavior in the collection.

→ OpenFileBehavior

Returns the middle OpenFileBehavior in the collection.

→ OpenFileBehavior

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

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

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

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

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

Object of 7

Properties elsewhere that hold a OpenFileBehaviors.