Skip to content

Instantly share code, notes, and snippets.

@kpapiez
kpapiez / toggle-grayscale
Created January 7, 2016 18:21 — forked from wbolster/toggle-grayscale
AppleScript to toggle grayscale display (for Mac OSX 10.11 El Capitan)
tell application "System Preferences"
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 Events"
quit