I had a workflow that I initially based on "Advanced Hotkeys - Getting Started" (and have yet to change the name as I am still developing it). I have it down to a single Hotkey that accepts selected items from Finder.
I attached a ksh script to this which ran a simple command on the selected files. This works OK.
[13:28:15.411] Advanced Hotkeys - Getting Started[Hotkey] Processing complete
[13:28:15.415] Advanced Hotkeys - Getting Started[Hotkey] Passing output '(
"/Users/allisterjenks/Downloads/48_036.tiff"
)' to Run Script
[13:29:09.611] Advanced Hotkeys - Getting Started[Hotkey] Processing complete
I have been trying to get a more complex script to work and to test that, I have left the existing script in place, and simply reconnect the trigger to whichever script I want to run; old or new. However, my new script is generating an error that I do not understand. I have written the script in a .sh file as well and that works perfectly now, but the Alfred version, that differs only in fully qualifying a shell command (installed via Homebrew) keeps throwing this error.
[13:29:09.614] Advanced Hotkeys - Getting Started[Hotkey] Passing output '(
"/Users/allisterjenks/Downloads/48_036.tiff"
)' to Run Script
[13:29:09.642] ERROR: Advanced Hotkeys - Getting Started[Run Script] /Users/allisterjenks/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/FF1434A3-A5CA-446F-81CE-4C722F76D5D6:6: = not found
That looks to me like it is saying Alfred is trying to run a script from a cache but it's not there. I have made multiple edits to the script in the Workflow editor but this error persists. How can I fix this?