Class
bringToFront, close, maximize, minimize, restore, select
Window
A window.
Superclass of LayoutWindow, StoryWindow
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
bounds | Array of Measurement Unit (Number or String) | r/w | The bounds of the Window, in the format [y1, x1, y2, x2]. |
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 Objects NothingEnum Object |
r/w | The selection. Can return: Object, Array of Objects or NothingEnum enumerator. |
Methods
Instances
void bringToFront ()
Brings the Window to the front.
void close ()
Closes the Window.
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.
Parameter | Type | Description |
---|---|---|
selectableItems |
Array
of Objects NothingEnum Object | The object(s) to select. Can accept: Object, Array of Objects or NothingEnum enumerator. |
existingSelection | SelectionOptions: SelectionOptions.ADD_TO SelectionOptions.REMOVE_FROM SelectionOptions.REPLACE | How to handle the existing selection (Optional) (default: SelectionOptions.REPLACE) |
Element of
Application.activeWindow
Return
Window Windows.add ([withProperties: Object])
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |