Adobe InDesign CS (3.0) Object Model JS: StoryWindow

InDesign CS

Class

StoryWindow

 A story window. Base Class: Window

QuickLinks

bringToFront, close, maximize, minimize, restore, select

Hierarchy

Application | Document
Window
StoryWindow

Properties

PropertyTypeAccessDescription
bounds Array of Measurement Unit (Number or String) r/wThe bounds of the StoryWindow, in the format [y1, x1, y2, x2].
indexnumber readonlyThe index of the StoryWindow within its containing object.
namestring readonlyThe name of the StoryWindow.
parentApplicationDocument readonlyThe parent of the StoryWindow (a Document or Application).
propertiesObject r/wA property that allows setting of several properties at the same time.
selection Array of Objects
NothingEnum
Object
r/wThe selection. Can return: Object, Array of Objects or NothingEnum enumerator.

Methods

Instances

void bringToFront ()
Brings the StoryWindow to the front.

void close ()
Closes the StoryWindow.

void maximize ()
Maximizes the window.

void minimize ()
Minimizes the window.

void restore ()
Restores the window.

void select (selectableItems: any[, existingSelection: SelectionOptions=SelectionOptions.REPLACE])
Select one or more objects.

ParameterTypeDescription
selectableItems Array of Objects
NothingEnum
Object
The object(s) to select. Can accept: Object, Array of Objects or NothingEnum enumerator.
existingSelectionSelectionOptions:
SelectionOptions.ADD_TO
SelectionOptions.REMOVE_FROM
SelectionOptions.REPLACE
How to handle the existing selection (Optional) (default: SelectionOptions.REPLACE)

Element of

Application.activeWindow

Jongware, 27-Jun-2010 v3.0.3dContents :: Index