AstonJ

AstonJ

How to: create automated commands and then give them a keyboard shortcut on a Mac

Posting this for future reference :grin:

  • Open Automater > New > Quick Action

  • Change Workflow receives current to no input

  • Click on the Record icon

  • Click on your app and then do what you want it to then click the stop button.

Once done, delete the first command (clicking on the app) and then save it. Then ensure you have given the app permission in your Mac settings via Security & Privacy > Acessibility > Allow the apps below to control your computer.

Then go to the app, and from the menu bar, under Name of app > Services > Name you gave the action click it to see if it works, if it doesn’t, then you can set up a custom keyboard shortcut for it :nerd_face:

(To delete a quick action, delete the file from .Library > Services)

Where Next?

Popular Macos topics Top

New
AstonJ
Thought it might be interesting to have a thread for any unusual bugs we might come across…
New
New
AstonJ
I think we need a macOS rants thread - just for those little things that bug us :face_with_symbols_over_mouth: Feel free to start dedica...
New
AstonJ
This used to be easy - simply drag whatever files you want to onto a Time Machine disk. Now, macOS reserves the entire APFS disk for Time...
New
CommunityNews
macOS Monterey Preview. macOS Monterey. Connect like never before. Exciting FaceTime updates. An all-new Safari. Powerful new ways to wo...
New
AstonJ
Just upgraded to macOS Monterey (12.1) and finding ‘live text’ quite annoying! If anyone else wants to turn it off here’s how: System Pr...
New
AstonJ
For anyone else who finds the large number of recent items annoying when right-clicking the finder icon on Mac, simply: System Prefs &gt...
New
d1bg12
Hello, Apple developers! I want to upload an app to testflight, but I’m having the issue from the picture and I can’t get around it. Ha...
New
AstonJ
Just looking through my settings and noticed that Help Apple Improve Search was checked - yet I am almost certain that I did not opt-in t...
New

Other popular topics Top

Devtalk
Reading something? Working on something? Planning something? Changing jobs even!? If you’re up for sharing, please let us know what you’...
1037 19435 386
New
AstonJ
A thread that every forum needs! Simply post a link to a track on YouTube (or SoundCloud or Vimeo amongst others!) on a separate line an...
New
AstonJ
You might be thinking we should just ask who’s not using VSCode :joy: however there are some new additions in the space that might give V...
New
AstonJ
We have a thread about the keyboards we have, but what about nice keyboards we come across that we want? If you have seen any that look n...
New
Exadra37
I am asking for any distro that only has the bare-bones to be able to get a shell in the server and then just install the packages as we ...
New
New
PragmaticBookshelf
Create efficient, elegant software tests in pytest, Python's most powerful testing framework. Brian Okken @brianokken Edited by Kat...
New
AstonJ
If you get Can't find emacs in your PATH when trying to install Doom Emacs on your Mac you… just… need to install Emacs first! :lol: bre...
New
PragmaticBookshelf
Programming Ruby is the most complete book on Ruby, covering both the language itself and the standard library as well as commonly used t...
New
Margaret
Ask Me Anything with Mark Volkmann @mvolkmann On February 24 and 25, we are giving you a chance to ask questions of PragProg author M...
New