Timeline for Applescript to toggle "Announce the time:" in Sys Preferences
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 5, 2021 at 12:49 | comment | added | user3439894 |
@Jeff RE: "(because AS doesn't work if the ScreenSaver is on)," -- You could try adding tell application "System Events" to stop screen savers as the first line of code in the script.
|
|
Apr 23, 2021 at 22:00 | vote | accept | Jeff | ||
Apr 23, 2021 at 22:00 | comment | added | Jeff |
This is the accepted answer. The script works perfectly, and I appreciate your attention to detail (e.g., making sure the initial conditions are correct and restoring the "Use keyboard navigation" checkbox). I'd rather use the defaults write command (because AS doesn't work if the ScreenSaver is on), but I'd need a way to force the OS to update its cache. Meanwhile, your AS is good. Thank you.
|
|
Apr 22, 2021 at 9:39 | history | edited | user3439894 | CC BY-SA 4.0 |
added 47 characters in body
|
Apr 22, 2021 at 9:20 | history | answered | user3439894 | CC BY-SA 4.0 |