This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
token:WindowName [2016/11/23 00:48] peternlewis |
token:WindowName [2019/07/05 03:45] peternlewis |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{:action:window-icon.png?nolink|}} | + | ~~REDIRECT>token:Window_Tokens~~ |
- | ====== WindowName and FrontWindowName Tokens ====== | + | |
- | + | ||
- | This Wiki page receives the redirect for a number or windows related tokens: | + | |
- | + | ||
- | * [[token:WindowName|%WindowName%]] | + | |
- | * [[token:FrontWindowName|%FrontWindowName%]] | + | |
- | + | ||
- | Each of these text tokens return the name of the specified window. | + | |
- | + | ||
- | + | ||
- | ==== Token Parameters ==== | + | |
- | + | ||
- | + | ||
- | The //WindowName// token takes a parameter indicating which window to use. The parameter is the value _after_ the percent sign of the main token. For example: `% WindowName%1%` | + | |
- | + | ||
- | 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. | + | |
- | + | ||
- | `%FrontWindowName%` is a synonym for `%WindowName%Front%` and may be used interchangeably. | + | |
- | + | ||
- | ===== See Also ===== | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | === 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]] | + |