Guest User

Untitled

a guest
Mar 24th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. tell application "System Preferences"
  2. activate
  3. reveal pane "com.apple.preference.displays"
  4. end tell
  5.  
  6. delay 0.5
  7.  
  8. tell application "System Events"
  9. tell process "System Preferences"
  10. try
  11. click button "Night Shift" of window 1
  12.  
  13. end try
  14. end tell
  15. end tell
  16.  
  17. delay 0.5
  18.  
  19. tell application "System Preferences"
  20. activate
  21. close window 1
  22. end tell
Add Comment
Please, Sign In to add comment