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 |