Skip to content

Instantly share code, notes, and snippets.

View oneeyedman's full-sized avatar
🦄
Yay!

Carlos Mañas oneeyedman

🦄
Yay!
View GitHub Profile
@wbolster
wbolster / toggle-grayscale
Created December 1, 2014 12:51
AppleScript to toggle grayscale display (for Mac OSX 10.10 Yosemite)
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