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
Anyone else experience bugs with macOS? I have two that are annoying me… Every now and again after waking from sleep, Safari CPU cons...
New
First poster: bot
MacOS Nix Setup (an alternative to Homebrew). I recently got a new Macbook, and began setting up the Nix package manager to install my d...
New
AstonJ
Apparently Apple is working on new Mac Pros that will be half the size of current Mac Pros… As part of the transition to Apple Silicon,...
New
First poster: ohm
Docker fails to launch on Apple Silicon · Issue #4733 · docker/for-mac. Fails to launch on Apple Silicon (unsurprisingly given it's so n...
New
New
MikhailPertsev
Hi there! Do you use any “clean up” app like CleanMyMac X ? If yes, what is those apps?
New
New
dimitarvp
Small essay with thoughts on macOS vs. Linux: I know @Exadra37 is just waiting around the corner to scream at me “I TOLD YOU SO!!!” but I...
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

Other popular topics Top

AstonJ
If it’s a mechanical keyboard, which switches do you have? Would you recommend it? Why? What will your next keyboard be? Pics always w...
New
DevotionGeo
I know that these benchmarks might not be the exact picture of real-world scenario, but still I expect a Rust web framework performing a ...
New
Exadra37
I am thinking in building or buy a desktop computer for programing, both professionally and on my free time, and my choice of OS is Linux...
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
DevotionGeo
The V Programming Language Simple language for building maintainable programs V is already mentioned couple of times in the forum, but I...
New
AstonJ
Seems like a lot of people caught it - just wondered whether any of you did? As far as I know I didn’t, but it wouldn’t surprise me if I...
New
New
Help
I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
New
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