This macro takes a search term and gives a selection of gifs from Giphy to select from. Clicking on a gif will save its URL to the clipboard (suitable for pasting into Slack or your other chat tool of choice), or option-clicking will both save the URL and download the gif directly.
Doing this in Keyboard Maestro necessitated a few goofy (“goophy?”) things to make it work:
- Again, JS events were required for selecting the gif (no surprise since they aren’t form fields), but I was able to use KM itself to check whether the option key was down to prompt a download.
Ultimately, this is a great example of how Keyboard Maestro can be used to build what is essentially a mini-application. There are certainly things that perform better or give more features, but as a toolkit to string together a lot of pieces and parts, it’s fantastic.
This also makes me want to see KM expand to include web services into its vast arsenal of capabilities. Consuming JSON or even permitting variables to be stored in JSON has some real potetial as well.
Download: Giphy Search.kmmacros.zip (zip, 9220 bytes)