Created
August 25, 2016 00:18
-
-
Save hcientist/7a03f670fcb0f37d33b6b0af095e700a to your computer and use it in GitHub Desktop.
This file contains 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
tell application "System Preferences" | |
activate | |
reveal anchor "displaysDisplayTab" of pane id "com.apple.preference.displays" | |
tell application "System Events" | |
delay 1 | |
set value of slider 1 of group 1 of tab group 1 of window "Built-in Retina Display" of process "System Preferences" to 1 | |
set value of slider 1 of group 1 of tab group 1 of window "LED Cinema Display" of process "System Preferences" to 1 | |
set value of slider 1 of group 1 of tab group 1 of window "Thunderbolt Display" of process "System Preferences" to 1 | |
end tell | |
quit | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment