Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
Value returned: a rectangle
equal to the dimensions of the screen in pixels
If there's more than one monitor, 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.
If the card window appears on more than one monitor, the screenRect
returns the dimensions of the screen that shows the most area from the card window.
An expression that evaluates to a rectangle, in the form of four integers separated by commas (and, in AppleScript, enclosed in brackets).
Items 1 and 2 of a rectangle specify the left and top coordinates; items 3 and 4 specify the right and bottom coordinates (in pixels). For example: