User Tools

Site Tools


token:WindowName

**This is an old revision of the document!**

The WindowFrame, WindowPosition, WindowSize, and WindowName text tokens return information about the specified window. Each one takes a parameter indicating which window to use.

The parameter may be:

  • Front or 0: the focussed/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).

token/WindowName.1436247974.txt.gz · Last modified: 2015/07/07 01:46 by peternlewis