Improving a Clipboard Automation made with Bash and Automator

Objective

Find a better way to implement this system clipboard automation. Full disclosure: the Automator “application” works as intended.

Background

I created an automation using Automator and a bash script. The automation does the following: it take the text content stored in the system clipboard and places it in a new text file which is then saved in the front most Finder window/folder.

Problem

Clicking on an Automator app to get it to run each time seems a bit much.

Uses for this Automation

I like to change file names a lot, but also keep a record of the original file name. This is important when renaming image, video and music files.

I’ve solved the issue by using a hotkey via Alfred.