Skip to content

Instantly share code, notes, and snippets.

@marcusstenbeck
Last active July 11, 2018 11:24
Show Gist options
  • Save marcusstenbeck/6fa065e331037ca0984ee86f0308becf to your computer and use it in GitHub Desktop.
Save marcusstenbeck/6fa065e331037ca0984ee86f0308becf to your computer and use it in GitHub Desktop.
Toggle Greyscale on macOS

Toggle Greyscale on macOS

  1. Start Script Editor
  2. Paste the script found below
  3. Save as application
  4. Drag to dock, and use to toggle greyscale quickly on and off
tell application "System Preferences" to reveal anchor "Seeing_Display" of pane id "com.apple.preference.universalaccess"
tell application "System Preferences"
	activate
	tell application "System Events" to tell process "System Preferences"
		click the checkbox "Use grayscale" of window "Accessibility"
	end tell
end tell

tell application "System Preferences" to quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment