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 [2019/07/04 03:18] peternlewis |
function:SCREEN [2020/06/11 04:25] 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 47: | Line 47: | ||
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 (relative to the top left corner of the main screen). | + | Coordinates are in absolute nominal resolution pixels relative to the top left corner of the main screen. |
===== See Also ===== | ===== See Also ===== |