User Tools

Site Tools


token:Screen

Table of Contents

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

The %Screen% and %ScreenVisible% tokens return the frame or visible frame of the specified screen. It takes a parameter indicating which screen to use.

The parameter may be:

  • Main or 0: 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).
  • Second: the left most screen that is not the Main screen.
  • Third: the left most screen that is not the Main or Second screen.
  • Internal: the left most internal screen.
  • External: the left most external screen.
  • Front: the left most screen containing (most of) the front window.
  • Back: the left most screen that is not the Front screen.
  • Back2: the left most screen that is not the Front or Back screen.
  • Mouse: the left most screen containing the mouse cursor.
  • Positive Number: the indexed screen from left to right.
  • Negative Number: the indexed screen from right to left.

So for example, %ScreenVisible%Main% gives the visible frame of the main screen.

Like all coordinates in Keyboard Maestro, the frames are from the top left corner of the main screen.

See Also


Functions

Tokens

Forum

token/Screen.1466925643.txt.gz · Last modified: 2016/06/26 03:20 by alain