InDesign Server2025
API 20.5.0.49
Collection of IdleTask

IdleTasks

All attachable idle tasks.

Properties

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

Methods

→ IdleTask

Returns the IdleTask with the specified index.

index Number The index.
→ IdleTask

Creates a new IdleTask.

withProperties? Object Initial values for properties of the new IdleTask
→ IdleTask

Returns any IdleTask in the collection.

→ Number

Displays the number of elements in the IdleTask.

→ IdleTask[]

Returns every IdleTask in the collection.

→ IdleTask

Returns the first IdleTask in the collection.

→ IdleTask

Returns the IdleTask with the specified index or name.

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

Returns the IdleTask with the specified ID.

id Number The ID.
→ IdleTask

Returns the IdleTask with the specified name.

name String The name.
→ IdleTask[]

Returns the IdleTasks within the specified range.

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

Returns the last IdleTask in the collection.

→ IdleTask

Returns the middle IdleTask in the collection.

→ IdleTask

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

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

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

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

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

Object of 1

Properties elsewhere that hold a IdleTasks.