This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
function:SCREEN [2016/06/26 02:53] alain JMTX template + forum Google search |
function:SCREEN [2016/07/15 01:42] peternlewis nominal resolution pixels |
||
---|---|---|---|
Line 31: | Line 31: | ||
For example SCREEN(Internal,Left,10%) would be the coordinate of left edge of the internal screen plus 10% of the width of the internal screen. SCREEN(Front,Right,-10%) would be the coordinate of the right edge of the external screen minus 10% of the width of the external screen. | For example SCREEN(Internal,Left,10%) would be the coordinate of left edge of the internal screen plus 10% of the width of the internal screen. SCREEN(Front,Right,-10%) would be the coordinate of the right edge of the external screen minus 10% of the width of the external screen. | ||
- | SCREEN sizes and positions are in "points" (so a retina screen will typically have half as many points as pixels). | + | SCREEN sizes and positions are in //nominal resolution pixels// (so a retina screen will typically have half as many nominal resolution pixels as raw pixels). |
Coordinates are in absolute coordinates (relative to the top left corner of the main screen). | Coordinates are in absolute coordinates (relative to the top left corner of the main screen). | ||
Line 55: | Line 55: | ||
* [[function:WINDOWCOUNT|WINDOWCOUNT()]] | * [[function:WINDOWCOUNT|WINDOWCOUNT()]] | ||
* [[:Functions|See all Functions]] | * [[:Functions|See all Functions]] | ||
+ | |||
+ | === Tokens === | ||
+ | |||
+ | * [[token:Screen|%Screen%]] | ||
+ | * [[token:ScreenVisible|%ScreenVisible%]] | ||
+ | * [[:Tokens|See all Tokens]] | ||
---- | ---- | ||
Line 61: | Line 67: | ||
- [[https://forum.keyboardmaestro.com/t/i-need-a-conditional-if-there-are-two-monitors/3031/5|I need a conditional if there are two monitors]] | - [[https://forum.keyboardmaestro.com/t/i-need-a-conditional-if-there-are-two-monitors/3031/5|I need a conditional if there are two monitors]] | ||
- | |||
- [[https://www.google.fr/search?q=site:forum.keyboardmaestro.com+Screen|Keyboard Maestro Forum topics about Screen]] | - [[https://www.google.fr/search?q=site:forum.keyboardmaestro.com+Screen|Keyboard Maestro Forum topics about Screen]] | ||