User Tools

Site Tools


function:SCREEN

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
function:SCREEN [2019/07/04 01:39]
peternlewis
function:SCREEN [2019/07/04 03:23]
peternlewis
Line 1: Line 1:
-The [[function:​SCREEN|SCREEN()]] and [[function:SCREENVISIBLE|SCREENVISIBLE()]] ​functions return the position or size of a screen.  ​[[function:​SCREENVISIBLE|SCREENVISIBLE()]] refers to the visible section of the screen, excluding the menu bar and the dock.+The //SCREEN()// and //SCREENVISIBLE// functions return the position or size of a screen.  ​//SCREENVISIBLE()// refers to the visible section of the screen, excluding the menu bar and the dock.
  
     SCREEN( index [number OR name], coordinate )     SCREEN( index [number OR name], coordinate )
Line 21: Line 21:
 | Positive Calculation | the indexed screen from left to right. | | Positive Calculation | the indexed screen from left to right. |
 | Negative Calculation | the indexed screen from right to left. | | 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, be advised of the following: :!: Note: Since the _Main_ screen can be in any position, be advised of the following:
Line 38: Line 39:
 * MidX * MidX
 * MidY * MidY
 +* Index (v9.0+)
  
 The optional SCREEN *percentage* parameter specifies a percentage of the width or height to offset by. Offsets are always to the right and down, but negative offsets are allowed. The optional SCREEN *percentage* parameter specifies a percentage of the width or height to offset by. Offsets are always to the right and down, but negative offsets are allowed.
Line 48: Line 50:
  
 ===== See Also ===== ===== See Also =====
- 
----- 
  
 ==== Actions ==== ==== Actions ====
Line 73: Line 73:
 * [[token:​ScreenVisible|%ScreenVisible%]] * [[token:​ScreenVisible|%ScreenVisible%]]
 * [[:​Tokens|See all Tokens]] * [[:​Tokens|See all Tokens]]
- 
----- 
  
 ==== Forum ==== ==== Forum ====
function/SCREEN.txt ยท Last modified: 2023/09/20 03:47 by peternlewis