InDesign2026
API 21.5.1.73
Collection of StoryWindow

StoryWindows

A collection of story windows.

Properties

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

Methods

→ StoryWindow

Returns the StoryWindow with the specified index.

index Number The index.
→ StoryWindow

Returns any StoryWindow in the collection.

→ Number

Displays the number of elements in the StoryWindow.

→ StoryWindow[]

Returns every StoryWindow in the collection.

→ StoryWindow

Returns the first StoryWindow in the collection.

→ StoryWindow

Returns the StoryWindow with the specified index or name.

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

Returns the StoryWindow with the specified name.

name String The name.
→ StoryWindow[]

Returns the StoryWindows within the specified range.

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

Returns the last StoryWindow in the collection.

→ StoryWindow

Returns the middle StoryWindow in the collection.

→ StoryWindow

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

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

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

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

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

Object of 2

Properties elsewhere that hold a StoryWindows.