function:WINDOW
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| function:WINDOW [2016/05/14 16:59] – add forum link + forum Google search alain | function:WINDOW [2023/09/20 08:33] (current) – peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | The WINDOW() function takes one or two parameters and returns information about a window. | + | ====== |
| - | The first parameter may be: | + | The WINDOW() function returns the desired coordinate of the specified window, and can have one or two parameters. |
| - | * 0: the main or action | + | ====== Usage ====== |
| + | |||
| + | - WINDOW(Coordinate) | ||
| + | - WINDOW(Index, | ||
| + | |||
| + | 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 ====== | ||
| + | |||
| + | The first parameter, *Index*, which is optional, may be: | ||
| + | |||
| + | * 0: the frontmost | ||
| * 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. | ||
| - | The second parameter specifies the desired *coordinate* and can be: | + | The second parameter, `Coordinate`, |
| * Left | * Left | ||
| Line 18: | Line 29: | ||
| * MidY | * MidY | ||
| - | The WINDOW() function returns the desired coordinate of the specified window. | ||
| - | ===== See Also ===== | + | ====== See Also ====== |
| - | ---- | + | ===== Actions ===== |
| - | === Actions === | + | * [[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://forum.keyboardmaestro.com/search?q=WINDOW|Keyboard Maestro Forum topics about Window function]] | |
| - | - [[https://www.google.fr/search?q=site: | + | |
function/WINDOW.1463245199.txt.gz · Last modified: by alain
