function:SCREEN
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| function:SCREEN [2020/06/11 08:25] – peternlewis | function:SCREEN [2023/09/20 07:47] (current) – peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | The //SCREEN()// and // | + | ====== |
| - | | + | 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 ^ | ||
| Line 23: | Line 30: | ||
| | Variable Name | the index value based on the value of the variable (v9.0+). | | | 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 41: | Line 47: | ||
| * Index (v9.0+) | * 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). | ||
| Line 53: | Line 59: | ||
| ==== 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: |
| * [[: | * [[: | ||
function/SCREEN.1591863910.txt.gz · Last modified: by peternlewis
