This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
token:Screen [2015/07/15 05:57] peternlewis |
token:Screen [2025/01/27 21:40] (current) peternlewis |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | 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 //[[token:Screen|%Screen%]]// and //[[token:ScreenVisible|%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: | 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). | + | {{page>include:ScreenIndex#}} |
- | * 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. | 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. | + | Like all frames in Keyboard Maestro, they are of the form left, top, width, and height, and are from the top left corner of the main screen. |
+ | ===== See Also ===== | ||
+ | |||
+ | ==== Functions ==== | ||
+ | |||
+ | * [[function:SCREEN|SCREEN()]] | ||
+ | * [[function:SCREENVISIBLE|SCREENVISIBLE()]] | ||
+ | * [[:Functions|See all Functions]] | ||
+ | |||
+ | === Tokens === | ||
+ | |||
+ | * [[:Tokens|See all Tokens]] | ||
+ | |||
+ | ==== Forum ==== | ||
+ | |||
+ | - [[https://forum.keyboardmaestro.com/search?q=Screen|Keyboard Maestro Forum topics about Screen]] |