Last active
September 2, 2015 21:04
-
-
Save lgw4/58a78ba17c86d82d2fb2 to your computer and use it in GitHub Desktop.
Set resolution to 1920 x 1200 on MacBook Pro 15" Retina
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Most Space resolution (1920 x 1200) | |
| -- MacBook Pro 15" Retina, Yosemite version | |
| tell application "System Preferences" | |
| reveal anchor "displaysDisplayTab" of pane "com.apple.preference.displays" | |
| end tell | |
| tell application "System Events" to tell process "System Preferences" to tell window "Built-in Retina Display" | |
| click radio button "Display" of tab group 1 | |
| click radio button "Scaled" of radio group 1 of tab group 1 | |
| click radio button 5 of radio group 1 of group 1 of tab group 1 | |
| end tell | |
| quit application "System Preferences" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment