User Tools

Site Tools


token:Screen

Table of Contents

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 screen containing the 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.txt · Last modified: 2017/03/05 22:36 by peternlewis