Hi, new alfred user, non-programmer here innocently raising the white flag.
Alfred: Ver 4
Workflow: Reduce file size with query (cd desktop || sips -s formatOptions {query} *.jpg)
Status: Works perfectly but using the 'terminal command'
Goal: Run the same script but using the action 'run script' (so I can get the same result without opening the terminal app.)
I can't find the solution anywhere on the web (maybe it's that obvious, nobody felt the need to explain haha). I have pasted the exact command in the 'run script' action but it returns nothing for me.
Could someone please point out where I'm going wrong, please? If I can do this one script then I will be able apply the same principles to all my other terminal workflows.
Thanks.
(screenshots attached for reference (2 similar scripts with one that takes an argument))