Skip to content

Instantly share code, notes, and snippets.

@yangwao
Last active December 10, 2021 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yangwao/22dcf9d299759664f018f5379fe86366 to your computer and use it in GitHub Desktop.
Save yangwao/22dcf9d299759664f018f5379fe86366 to your computer and use it in GitHub Desktop.
activate remove boring windows for humans
### Open script editor and save as app
### dont forget to add permisions in privacy window to controll it
### ht vikiival for evening cracking
### delay is might tricky!
### credits goes to https://gist.github.com/silesky/2da3a6bef1703e38d901ec9c623eecbd
tell application "System Preferences"
set the current pane to pane id "com.apple.preference.universalaccess"
delay 0.3 #needs time to open universal access
tell application "System Events" to tell process "System Preferences" to tell window "Accessibility"
select row 5 of table 1 of scroll area 1 #open display preferences
click radio button "Colour Filters" of tab group 1 of group 1
click checkbox "Enable Colour Filters" of tab group 1 of group 1
end tell
end tell
tell application "System Preferences" to quit
@yangwao
Copy link
Author

yangwao commented Dec 10, 2021

numba go only up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment