Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
2 answers
809 views

Single-button shortcut for "Do not Disturb"

Is there a way I can bind a single key on my keyboard to toggle "Do not Disturb"? It would be more convenient that opening up the notification center and moving that awkward slider. I do think that ...
Daniel's user avatar
  • 653
1 vote
2 answers
2k views

What key code maps to external USB brightness up/down keys?

I am writing a script and I need to figure out current key codes for brightness up and down with an external keyboard. I know the standard for a MacBook is 107 and 113, though as soon as I connect a ...
andreasg's user avatar