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

AstonJ
What was it? What language did you use? How did you find the experience?
New
First poster: bot
Hackers jailbreak Apple’s T2 security chip powered by bridgeOS - Report Cyber Crime. The Apple T2 security chip has finally been jailbro...
New
AstonJ
Thought it might be interesting to have a thread for any unusual bugs we might come across…
New
CommunityNews
Over the past decade, a large and opaque industry has been amassing increasing amounts of personal data.1,2 A complex ecosystem of websi...
New
AstonJ
Posting this for future reference :grin: Open Automater > New > Quick Action Change Workflow receives current to no input ...
New
CommunityNews
macOS Monterey Preview. macOS Monterey. Connect like never before. Exciting FaceTime updates. An all-new Safari. Powerful new ways to wo...
New
New
AstonJ
I’ve noticed that over the course of several updates my display (on both my MBP screen and my LG5K) has been looking more and more washed...
New
AstonJ
Intel clearly not happy that Apple are now creating their own silicon :081:
New
AstonJ
If you want a quick and easy way to block any website on your Mac using Little Snitch simply… File > New Rule: And select Deny, O...
New

Other popular topics Top

PragmaticBookshelf
Brace yourself for a fun challenge: build a photorealistic 3D renderer from scratch! In just a couple of weeks, build a ray tracer that r...
New
AstonJ
What chair do you have while working… and why? Is there a ‘best’ type of chair or working position for developers?
New
DevotionGeo
I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New
AstonJ
Curious to know which languages and frameworks you’re all thinking about learning next :upside_down_face: Perhaps if there’s enough peop...
New
AstonJ
Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face: https://on...
New
Exadra37
Oh just spent so much time on this to discover now that RancherOS is in end of life but Rancher is refusing to mark the Github repo as su...
New
Margaret
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
1147 29994 760
New
AstonJ
Saw this on TikTok of all places! :lol: Anyone heard of them before? Lite:
New
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