function:WINDOW
**This is an old revision of the document!**
The WINDOW() function takes one or two parameters and returns information about a window. With one parameter, it refers to the window that that action is operating on in actions like the Manipulate a Window. If the action does not refer to a window, then the function refers to the main/focused/front window. With two parameters, the first parameter specifies which window in the front application to operate on.
The first parameter may be:
- 0: the main or action window.
- Positive Number: the indexed window from front to back.
- Negative Number: the indexed window from back to front.
The second parameter specifies the desired coordinate and can be:
- Left
- Right
- Top
- Bottom
- Width
- Height
- MidX
- MidY
The WINDOW() function returns the desired coordinate of the specified window.
See Also
Actions
Functions
Tokens
Forum
function/WINDOW.1488767065.txt.gz · Last modified: by peternlewis
