All Questions
Tagged with keybindings automation
6 questions
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 ...
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 ...
1
vote
1
answer
55
views
MacOS Music script does not work triggered inside app
For years, I've been using a really simple AppleScript to reset Music's AirPlay device back to my computer. I trigger it using a keyboard shortcut Command + E and the script doesn’t run. Same if I use ...
1
vote
0
answers
66
views
Use Single Shortcut Key to Close Windows
Some windows can be closed with ⌘+w while others require the Esc key. How do you create a single key shortcut (maybe with caps lock?) that can close both types? A built-in solution in Mojave and ...
0
votes
2
answers
119
views
Can I accomplish similar functionality to Windows Auto Hot Key (AHK) on macOS Sonoma?
I switched recently to an Macbook Pro with an M3 Pro chip after using Windows for a lifetime. I am trying to make a a shortcut which can trigger many different actions and in my case all the actions ...
0
votes
1
answer
146
views
Map Spotlight key to repeat last command in Terminal
Logically this is possible, but I'm not sure it is technically possible on a Mac. And I have no idea where to start, but here it is: I have a workflow right now where I (1) close the only tab in VS ...