This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
token:WindowName [2016/06/29 14:59] alain add internal links |
token:WindowName [2019/07/05 03:45] (current) peternlewis |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | The [[token:WindowFrame|%WindowFrame%]], [[token:WindowPosition|%WindowPosition%]], [[token:WindowSize|%WindowSize%]], and [[token:WindowName|%WindowName%]] text tokens return information about the specified window. Each one takes a parameter indicating which window to use. | + | ~~REDIRECT>token:Window_Tokens~~ |
- | + | ||
- | The parameter may be: | + | |
- | + | ||
- | * Front or 0: the focused/main window. Usually the same as index 1. | + | |
- | * Positive Number: the indexed window from front to back. | + | |
- | * Negative Number: the indexed window from back to front. | + | |
- | + | ||
- | So for example, //%WindowName%1%// gives the name of the front window. | + | |
- | + | ||
- | Like all coordinates in Keyboard Maestro, the WindowPosition and WindowFrame are from the top left corner of the main screen (the defined one with the menu bar on it, although this is less apparent now that the menu bar is on all monitors). | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | === Functions === | + | |
- | + | ||
- | * [[function:SCREEN|SCREEN()]] | + | |
- | * [[function:SCREENVISIBLE|SCREENVISIBLE()]] | + | |
- | * [[function:WINDOW|WINDOW()]] | + | |
- | * [[function:WINDOWCOUNT|WINDOWCOUNT()]] | + | |
- | * [[:Functions|See all Functions]] | + | |
- | + | ||
- | === Tokens === | + | |
- | + | ||
- | * [[token:FrontWindowFrame|%FrontWindowFrame%]] | + | |
- | * [[token:FrontWindowPosition|%FrontWindowPosition%]] | + | |
- | * [[token:FrontWindowSize|%FrontWindowSize%]] | + | |
- | * [[token:WindowFrame|%WindowFrame%]] | + | |
- | * [[token:WindowPosition|%WindowPosition%]] | + | |
- | * [[token:WindowSize|%WindowSize%]] | + | |
- | * [[:Tokens|See all Tokens]] | + | |
- | + | ||
- | === Triggers === | + | |
- | + | ||
- | * [[trigger:Focused Window|Focused Window trigger]] | + | |
- | * [[:Triggers|See all Triggers]] | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | ==== Forum ==== | + | |
- | + | ||
- | - [[https://forum.keyboardmaestro.com/t/trapping-dialogs-in-pause-condition/3046/4|Trapping dialogs in Pause condition]] | + | |
- | + | ||
- | - [[https://www.google.fr/search?q=site:forum.keyboardmaestro.com+WindowName|Keyboard Maestro Forum topics about WindowName]] | + |