Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.
the screenRect
Value returned: a rectangle
equal to the dimensions of the screen in pixels the screenRect
returns the dimensions of the monitor displaying the current stack as offsets from the top-left corner of the screen that contains the menu bar. the screenRect
returns the dimensions of the screen that shows the most area from the card window. get the screenRect
if the mouseLoc is not within it then ...
if the screenRect = "0,0,512,342" then ... -- SE size monitor
on screenRectDemo
get the screenRect
put "The dimensions of the monitor displaying this stack are:" &¬
return & return & "Width:" && (item 3 of it - item 1 of it) &¬
return & "Height:" && (item 4 of it - item 2 of it) into sayIt
answer sayIt
end screenRectDemo
0,0,200,250
the rect of card window
"30,30," & "240,240"
{ 10, 35, 250, 300 } --AppleScript form
Functions
Version 0.7b1 (March 24, 2022)