It would be nice to have a macro where you can select text and have it processed with one of several configurable prompts. All within Keyboard Maestro and with only the API key to add.
I noticed that no one had covered this topic, so I decided to write a blog post on how you can use macOS Shortcuts to process input from Keyboard Maestro. Feel free to check it out here!
To achieve this, you need to create a POST request in Shortcuts and then retrieve the result to pass it back to Keyboard Maestro. After that, you can decide how to structure your macro based on the outcome. If you have any questions about how this process works, feel free to ask.
Thanks for sharing! Have you ever tried to do it with the Shortcut action that comes with the ChatGPT for Mac app? It seems to make requests without need for an API key, but the output kept going to the Shortcuts app, and I couldn't work out how to change that.
I haven't tried using ChatGPT for Mac since my iMac isn't compatible. Instead, I find the chatgpt-4o-mini model to be more cost-effective, which is why I haven't subscribed to ChatGPT at this time.
Fair enough! I just meant that you can use a certain number of 4o responses a day for free through Shortcuts, without paying for Plus or having an API key. But I couldn't work out how to get it to output to another app because I don't really know Shortcuts. The API key is cost-effective as you mention.
Artificial language has a strange perfume, somehow evoking that of spam or reconstituted meat.
Automating meat slurry channeling ?
More "creative" uses of Keyboard Maestro do come to mind...
Douglas Adams, reflecting on the Campaign for Real Ale's resistance to low-quality and highly homogenised industrial effluent, had fun imagining pollution of time-lines by commercialised time-travel, leading, in backlash, to a Campaign for Real Time.
That seems, fortunately, a long shot, but I can easily imagine, quite soon, in reaction to the pollution of all human interaction by industrially-generated language slurry, a Campaign for Real Language.