Skip to main content
13 events
when toggle format what by license comment
Aug 11, 2023 at 10:55 comment added Truisms Hounds Huh. Works for me on Ventura if I use Shift+Control+Option+Command+D. But if I try to make the shortcut "lighter" by using Control+Option+D or Control+Option+Command+D, I can get DND to toggle only by physically using the keyboard, and not by using the script. (Yes, I did update the AppleScript to remove the keys that I took out of the keyboard shortcut.) --Edit-- I also had to remove the "ignore application responses" bit to get it to work from the terminal.
Aug 5, 2023 at 15:42 comment added AbePralle Ventura 13.4.1: wasn't working at first but then I removed the "ignoring application responses" and saw that in my case I needed to enable iTerm in the Privacy & Security > Accessibility menu.
Jan 20, 2021 at 3:20 comment added jerlich The applescript works when i run it from the script editor but not from terminal :(
Oct 3, 2020 at 23:38 comment added jonathanking This no longer works in Mac Mojave or Catalina.
Dec 10, 2014 at 16:08 comment added William Boman I just dislike when there are ambiguous entry points to an action, it works like a charm though!
Dec 10, 2014 at 15:53 comment added webmarc Just curious, I don't have any additional suggestions either way.
Dec 10, 2014 at 15:52 comment added webmarc I guess I'm asking if you mean better as in "more effective" or better as in "prettier under the covers." Is it a practical or aesthetic wish?
Dec 10, 2014 at 15:49 comment added William Boman Not having to bind an obscure keyboard shortcut and toggle that with osascript.
Dec 10, 2014 at 15:48 comment added webmarc Better in what way?
Dec 10, 2014 at 15:30 comment added William Boman Perfect! Thanks. Wish there were a better way though.
Sep 16, 2014 at 15:56 vote accept Razvan
Sep 16, 2014 at 15:20 history edited webmarc CC BY-SA 3.0
Updated with more instruction
Sep 16, 2014 at 15:10 history answered webmarc CC BY-SA 3.0