-
-
Save jkulesza/f7752d05a6c3804cb10e to your computer and use it in GitHub Desktop.
AppleScript to toggle grayscale display (for Mac OSX 10.10 Yosemite)
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 | |
set current pane to pane "Accessibility" | |
end tell | |
tell application "System Events" | |
tell process "System Preferences" | |
click checkbox "Use grayscale" of window 1 | |
end tell | |
end tell | |
tell application "System Preferences" | |
quit | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment