Keyboard Maestro Dark Mode (macOS Mojave) πŸŒ‘

Just noticed this section. I have an applescript that inverts colors. Not the nicest way of doing it, but it works well enough:

tell application "System Preferences"
	activate
	delay 0.4
	reveal anchor "Seeing_Display" of pane id "com.apple.preference.universalaccess"
end tell
tell application "System Events" to tell process "System Preferences"
	delay 0.3
	click the checkbox "Invert colors" of window "Accessibility"
end tell
tell application "System Preferences"
	quit
end tell

And also can grayscale:

tell application "System Preferences"
	activate
	delay 0.4
	reveal anchor "Seeing_Display" of pane id "com.apple.preference.universalaccess"
end tell
tell application "System Events" to tell process "System Preferences"
	delay 0.3
	click the checkbox "Use grayscale" of window "Accessibility"
end tell
tell application "System Preferences"
	quit
end tell

Combined, it is enough to do what I want often. It's not the greatest, but I like it enough. If you want to make it orangish (like with flux, you can use Screen Shades.

I also use Shades so that I can dim my screen beyond what apple lets (and external monitors).

[[NOTE: I'm not certain that these links are the correct ones]]

Hey @Jackson,

The system prefs has a keyboard shortcut for color inversion, so you can speed that up a bit.

image

The Bash script on this page might work for grayscale:

-Chris

+1 for dark mode, did you ever get an answer?

1 Like

Looks like the extension was pulled.:face_with_raised_eyebrow:

The β€œStylish Extention” link gives: "The Safari Extension you've requested is not currently available."

Maybe.

I use https://darkreader.org now and like it.

Maybe? The link works for you?

I havent tried it. But extension I sent is good and works although paid.

If you haven't tried it then why do you take the time to say maybe?

Didn't have time to check if it still works, that's all. :slightly_smiling_face:

Thank you :sunglasses: