Skip to content

Instantly share code, notes, and snippets.

@mikedamage
Created January 16, 2009 04:09
Show Gist options
  • Save mikedamage/47805 to your computer and use it in GitHub Desktop.
Save mikedamage/47805 to your computer and use it in GitHub Desktop.
Applescript: get desktop resolution
tell application "Finder"
set _b to bounds of window of desktop
set _w to item 3 of _b
set _h to item 4 of _b
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment