AppleScript: get screen resolution