tell application “Finder” set desktopFrame to bounds of window of desktop set screenHeight to item 4 of desktopFrame end tell tell application “System Events” set activeApplication to name of the first process whose frontmost is true end tell tell application activeApplication set appFrame to bounds of the first window set xpos to item 1 of …
Resize Your Windows Automatically for Different Resolutions MAC os x
