function:SCREEN
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| function:SCREEN [2018/07/11 21:29] – [Forum] JMichaelTX | function:SCREEN [2023/09/20 07:47] (current) – peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | The [[function:SCREEN|SCREEN()]] and [[function: | + | ====== |
| - | | + | The SCREEN() |
| - | SCREEN( index [number OR name], coordinate, percentage ) | + | |
| - | The SCREEN *index* can be referenced by either a _number_ OR a _name_. The _Index number_ can be 0 for the main screen, | + | The SCREENINDEX() function (v10.0+) returns |
| - | The _Main_ | + | ``` |
| - | The other screens (monitors) are referenced positionally from the left most screen, which may, or _may not_, be the _Main_ | + | SCREEN( index [number OR name], coordinate ) |
| + | SCREEN( index [number OR name], coordinate, percentage ) | ||
| + | ``` | ||
| + | |||
| + | The SCREEN //index// can be referenced by either a //number// or a // | ||
| + | |||
| + | The // | ||
| + | |||
| + | The other screens (monitors) are referenced positionally from the left most screen, which may or may not, be the // | ||
| ^ Index Name ^ Description ^ | ^ Index Name ^ Description ^ | ||
| - | | **Main** | the screen with the primary menu bar (as configured in the Displays preferences).| | + | | 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.| | | Second |the first from the left which is not the _Main_ screen.| | ||
| | Third | the second from the left which is not the _Main_ screen.| | | Third | the second from the left which is not the _Main_ screen.| | ||
| Line 19: | Line 26: | ||
| | Back | the first from the left not 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.| | | 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_ | + | :!: Note: Since the // |
| - | * SCREEN(0) is always the _Main_ | + | * SCREEN(0) is always the // |
| - | * SCREEN(1) may or may not be the _Main_ | + | * SCREEN(1) may or may not be the // |
| - | * SCREEN(2+) may or may not be the _Main_ | + | * SCREEN(2+) may or may not be the // |
| - | + | The SCREEN | |
| - | The SCREEN | + | |
| * Left | * Left | ||
| Line 36: | 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 //nominal resolution pixels// (so a retina screen will typically have half as many nominal resolution pixels as raw 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 are in absolute |
| ===== See Also ===== | ===== See Also ===== | ||
| - | |||
| - | ---- | ||
| ==== Actions ==== | ==== Actions ==== | ||
| - | * [[action: | + | * [[action: |
| - | * [[action: | + | * [[action: |
| * [[: | * [[: | ||
| ==== Functions ==== | ==== Functions ==== | ||
| - | * [[function:MENUBARHEIGHT|MENUBARHEIGHT()]] | + | * [[MENUBARHEIGHT]] |
| - | * [[function:MOUSEBUTTON|MOUSEBUTTON()]] | + | * [[MOUSEBUTTON]] |
| - | * [[function:MOUSEX|MOUSEX()]] | + | * [[MOUSEX]] |
| - | * [[function:MOUSEY|MOUSEY()]] | + | * [[MOUSEY]] |
| - | * [[function:SCREENCOUNT|SCREENCOUNT()]] | + | * [[SCREENCOUNT]] |
| - | * [[function:WINDOW|WINDOW()]] | + | * [[WINDOW]] |
| - | * [[function: | + | * [[WINDOWCOUNT]] |
| * [[: | * [[: | ||
| === Tokens === | === Tokens === | ||
| - | * [[token: | + | * [[token: |
| - | * [[token: | + | * [[token: |
| * [[: | * [[: | ||
| - | |||
| - | ---- | ||
| ==== Forum ==== | ==== Forum ==== | ||
function/SCREEN.1531344589.txt.gz · Last modified: by JMichaelTX
