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
OvermindDL1
So it seems that Apple removed the network firewall API a while back and replaced it with another, firewall apps adapted, and come to fin...
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
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
Exadra37
On modern versions of macOS, you simply can’t power on your computer, launch a text editor or eBook reader, and write or read, without a ...
New
AstonJ
Thought it might be interesting to have a thread for any unusual bugs we might come across…
New
New
AstonJ
Following this news: https://forum.devtalk.com/t/silver-sparrow-new-malware-found-on-30k-macs-has-security-pros-stumped/7241 just wondere...
New
AstonJ
I almost did last night, but then had a change of heart - might just see what others think or wait for the initial set of bug-fixes first...
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

Other popular topics Top

PragmaticBookshelf
Learn from the award-winning programming series that inspired the Elixir language, and go on a step-by-step journey through the most impo...
New
PragmaticBookshelf
Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
New
brentjanderson
Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New
AstonJ
poll poll Be sure to check out @Dusty’s article posted here: An Introduction to Alternative Keyboard Layouts It’s one of the best write-...
New
New
AstonJ
Saw this on TikTok of all places! :lol: Anyone heard of them before? Lite:
New
PragmaticBookshelf
Author Spotlight Jamis Buck @jamis This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
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
First poster: AstonJ
Jan | Rethink the Computer. Jan turns your computer into an AI machine by running LLMs locally on your computer. It’s a privacy-focus, l...
New
PragmaticBookshelf
Develop, deploy, and debug BEAM applications using BEAMOps: a new paradigm that focuses on scalability, fault tolerance, and owning each ...
New