Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tell application "System Preferences"
- activate
- reveal pane "com.apple.preference.displays"
- end tell
- delay 0.5
- tell application "System Events"
- tell process "System Preferences"
- try
- click button "Night Shift" of window 1
- end try
- end tell
- end tell
- delay 0.5
- tell application "System Preferences"
- activate
- close window 1
- end tell
Add Comment
Please, Sign In to add comment