Window
A window.
Superclass of LayoutWindow, StoryWindow
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
bounds | Array of number | r/w | The bounds of the window (specified in pixels) in the form [top, left, bottom, right]. |
index | number | readonly | The index of the Window within its containing object. |
name | string | readonly | The name of the Window. |
parent | ApplicationDocument | readonly | The parent of the Window (a Document or Application). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
selection | Array of Object | r/w | The selected object(s). Can also accept: Object or NothingEnum enumerator. |
Methods
Instances
void bringToFront ()
Brings the Window to the front.
void close ()
Closes the Window.
Array
of Window getElements ()
Resolves the object specifier, creating an array of object references.
void maximize ()
Maximizes the window.
void minimize ()
Minimizes the window.
void restore ()
Restores the window.
void select (selectableItems:
any[, existingSelection:
SelectionOptions=SelectionOptions.REPLACE_WITH])
Selects the specified object(s).
Parameter | Type | Description |
---|---|---|
selectableItems |
Array
of Objects NothingEnum Object SelectAll | The objects to select. Can accept: Object, Array of Objects, NothingEnum enumerator or SelectAll enumerator. |
existingSelection | SelectionOptions: SelectionOptions.ADD_TO SelectionOptions.REMOVE_FROM SelectionOptions.REPLACE_WITH | The selection status of the Window in relation to previously selected objects. (Optional) (default: SelectionOptions.REPLACE_WITH) |
string toSource ()
Generates a string which, if executed, will return the Window.
Element of
Application.activeWindow
Used in:
array of Window Windows.itemByRange (from: any, to: any)
Window Windows.nextItem (obj: Window)
Window Windows.previousItem (obj: Window)
Return
Array of Window Window.getElements ()
Window Windows.add ([withProperties: Object])
Window Windows.anyItem ()
Array of Window Windows.everyItem ()
Window Windows.firstItem ()
Window Windows.item (index: any)
Window Windows.itemByName (name: string)
Array of Window Windows.itemByRange (from: any, to: any)
Window Windows.lastItem ()
Window Windows.middleItem ()
Window Windows.nextItem (obj: Window)
Window Windows.previousItem (obj: Window)
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |