User Tools

Site Tools


token:WindowName

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
token:WindowName [2015/07/07 01:46]
peternlewis created
token:WindowName [2016/06/29 15:07]
alain
Line 1: Line 1:
-The *WindowFrame**WindowPosition**WindowSize*, and *WindowNametext tokens return information about the specified window. ​ Each one takes a parameter indicating which window to use.+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.
  
 The parameter may be: The parameter may be:
  
-* Front or 0: the focussed/main window. Usually the same as index 1.+* Front or 0: the focused/main window. Usually the same as index 1.
 * 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.
  
-So for example, ​*%WindowName%1%gives the name of the front window.+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). 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).
  
 +===== See Also =====
 +
 +----
 +
 +=== Functions ===
 +
 +* [[function:​SCREEN|SCREEN()]]
 +* [[function:​SCREENVISIBLE|SCREENVISIBLE()]]
 +* [[function:​WINDOW|WINDOW()]]
 +* [[function:​WINDOWCOUNT|WINDOWCOUNT()]]
 +* [[:​Functions|See all Functions]]
 +
 +=== Tokens ===
 +
 +* [[token:​FrontWindowFrame|%FrontWindowFrame%]]
 +* [[token:​FrontWindowName|%FrontWindowName%]]
 +* [[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]]
token/WindowName.txt ยท Last modified: 2019/07/05 03:45 by peternlewis