function:WINDOW
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| function:WINDOW [2019/12/25 03:56] – JMichaelTX | function:WINDOW [2023/09/20 08:33] (current) – peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | + | The WINDOW() function returns the desired coordinate of the specified window, and can have one or two parameters. | |
| - | **The `WINDOW()` function returns the desired coordinate of the specified window**, and can have one or two parameters. \\ | + | |
| - | Like all [[: | + | |
| ====== Usage ====== | ====== Usage ====== | ||
| - | - **`WINDOW(Coordinate)`** | + | - WINDOW(Coordinate) |
| - | - The `Index` is assumed to be the window of the Action in which the `WINDOW()` function is used (like the [Manipulate a Window](action: | + | - WINDOW(Index, |
| - | - **`WINDOW(Index, | + | |
| - | - With two parameters, the first parameter specifies which window in the front application to operate on. | + | |
| + | With two parameters, the first parameter specifies which window in the front application to operate on. With only one parameter, the *Index* is assumed to be the window of the Action in which the *WINDOW()* function is used (like the [[action: | ||
| ====== Parameters ====== | ====== Parameters ====== | ||
| - | + | The first parameter, | |
| - | The first parameter, | + | |
| * 0: the frontmost window of the frontmost app. | * 0: the frontmost window of the frontmost app. | ||
| * Positive Number: the indexed window from front to back. | * Positive Number: the indexed window from front to back. | ||
| * Negative Number: the indexed window from back to front. | * Negative Number: the indexed window from back to front. | ||
| - | * If this parameter is _not_ provided, then it is assumed to be the window of the Action in which the `WINDOW()` function is used, \\ OR, the frontmost window if the Action does not refer to a window. | ||
| The second parameter, `Coordinate`, | The second parameter, `Coordinate`, | ||
| Line 36: | Line 31: | ||
| ====== See Also ====== | ====== See Also ====== | ||
| - | |||
| - | |||
| - | ---- | ||
| ===== Actions ===== | ===== Actions ===== | ||
| - | * [[action: | + | * [[action: |
| - | * [[action: | + | * [[action: |
| - | * [[action: | + | * [[action: |
| * [[: | * [[: | ||
| ===== Functions ===== | ===== Functions ===== | ||
| - | * [[function:MENUBARHEIGHT|MENUBARHEIGHT()]] | + | * [[MENUBARHEIGHT]] |
| - | * [[function:MOUSEBUTTON|MOUSEBUTTON()]] | + | * [[MOUSEBUTTON]] |
| - | * [[function:MOUSEX|MOUSEX()]] | + | * [[MOUSEX]] |
| - | * [[function:MOUSEY|MOUSEY()]] | + | * [[MOUSEY]] |
| - | * [[function:SCREEN|SCREEN()]] | + | * [[SCREEN]] |
| - | * [[function:SCREENCOUNT|SCREENCOUNT()]] | + | * [[SCREENCOUNT]] |
| - | * [[function:SCREENVISIBLE|SCREENVISIBLE()]] | + | * [[SCREENVISIBLE]] |
| - | * [[function: | + | * [[SCREENINDEX]] |
| + | * [[WINDOWCOUNT]] | ||
| * [[: | * [[: | ||
| ===== Tokens ===== | ===== Tokens ===== | ||
| - | * [[: | + | * [[: |
| - | * [[: | + | * [[: |
| - | * [[token: | + | * [[token: |
| * [[: | * [[: | ||
| - | |||
| - | ---- | ||
| ===== Forum ===== | ===== Forum ===== | ||
| - [[https:// | - [[https:// | ||
| - | |||
| - [[https:// | - [[https:// | ||
| - | |||
| - [[https:// | - [[https:// | ||
function/WINDOW.1577246186.txt.gz · Last modified: by JMichaelTX
