function:SCREEN
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| function:SCREEN [2016/02/27 17:26] – add link to forum AlainLifchitz | function:SCREEN [2023/09/20 07:47] (current) – peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | The SCREEN | + | ====== |
| - | | + | The SCREEN() |
| - | SCREEN( index, coordinate, percentage ) | + | |
| - | The SCREEN *index* can be 0 for the main screen, | + | The SCREENINDEX() function (v10.0+) returns the actual index of the specified |
| - | * Main - the screen with the primary menu bar (as configured in the Displays preferences). | + | ``` |
| - | * Second - the left most screen that does not have the menu bar. | + | SCREEN( index [number OR name], coordinate |
| - | * Third - the left most screen that is not the Main or Second screen. | + | SCREEN( index [number OR name], coordinate, percentage |
| - | * Internal - the left most screen that is an internal screen | + | ``` |
| - | * External - the left most screen that is not an internal screen. | + | |
| - | * Mouse - the left most screen containing the mouse. | + | |
| - | * Front - the left most screen containing | + | |
| - | * Back - the left most screen not containing (the most of) the front window. | + | |
| - | * Back2 - the second left most screen not containing (the most of) the front window. | + | |
| - | The SCREEN *coordinate* can be: | + | The SCREEN |
| + | |||
| + | The //Main// screen is set by your macOS System Preferences. | ||
| + | |||
| + | The other screens (monitors) are referenced positionally from the left most screen, which may or may not, be the //Main// screen. | ||
| + | |||
| + | ^ Index Name ^ Description ^ | ||
| + | | Main or 0 | the screen with the primary menu bar (as configured in the Displays preferences).| | ||
| + | | Second |the first from the left which is not the _Main_ screen.| | ||
| + | | Third | the second from the left which is not the _Main_ screen.| | ||
| + | | Internal | the internal screen of the Mac.| | ||
| + | | External | the first from the left which is not an internal screen.| | ||
| + | | Mouse | the screen containing the mouse.| | ||
| + | | Front | the screen containing (the most of) the front window.| | ||
| + | | Back | the first from the left not containing (the most of) the front window.| | ||
| + | | Back2 | the second left most screen not containing (the most of) the front window.| | ||
| + | | Positive Calculation | the indexed screen from left to right. | | ||
| + | | Negative Calculation | the indexed screen from right to left. | | ||
| + | | Variable Name | the index value based on the value of the variable (v9.0+). | | ||
| + | |||
| + | :!: Note: Since the //Main// screen can be in any position: | ||
| + | | ||
| + | | ||
| + | * SCREEN(2+) may or may not be the //Main// screen. | ||
| + | |||
| + | The SCREEN // | ||
| * Left | * Left | ||
| Line 26: | Line 45: | ||
| * MidX | * MidX | ||
| * MidY | * MidY | ||
| + | * Index (v9.0+) | ||
| - | The optional SCREEN | + | The optional SCREEN |
| - | For example SCREEN(Internal, | + | For example SCREEN(Internal, |
| - | SCREEN sizes and positions are in " | + | SCREEN sizes and positions are in //nominal resolution pixels// |
| - | Coordinates are in absolute | + | Coordinates are in absolute |
| ===== See Also ===== | ===== See Also ===== | ||
| - | ==== Documentation | + | ==== Actions |
| - | * [[action: | + | * [[action: |
| - | * [[function:MENUBARHEIGHT|function:MENUBARHEIGHT]], [[function: | + | * [[action: |
| + | * [[:Actions|See all Actions]] | ||
| + | |||
| + | ==== Functions ==== | ||
| + | |||
| + | * [[MENUBARHEIGHT]] | ||
| + | * [[MOUSEBUTTON]] | ||
| + | * [[MOUSEX]] | ||
| + | * [[MOUSEY]] | ||
| + | * [[SCREENCOUNT]] | ||
| + | * [[WINDOW]] | ||
| + | * [[WINDOWCOUNT]] | ||
| + | * [[: | ||
| + | |||
| + | === Tokens === | ||
| + | |||
| + | * [[token:Screen|%Screen%]] token | ||
| + | * [[token:ScreenVisible|%ScreenVisible%]] token | ||
| + | * [[:Tokens|See all Tokens]] | ||
| ==== Forum ==== | ==== Forum ==== | ||
| - | - [[https:// | + | - [[https:// |
| + | |||
| + | - [[https:// | ||
function/SCREEN.1456594016.txt.gz · Last modified: by AlainLifchitz
