Hi all,
RetroBatch Pro version 2.2.2 [non-MAS version], macOS 14.7.5. For a while now I’ve been using Hazel to do some processing of images. One of the steps calls Shortcuts to run a RetroBatch workflow. Apple muffed up 14.7.5 and forgot to give /usr/bin/shortcuts proper authority to be run. See /usr/bin/shortcuts no longer works in 14.… - Apple Community
After trying multiple ways to get around this, I finally figured I would look more into RetroBatch itself to see if I can call it from a script - and yes I can! And now using a simple embedded script in Hazel, my workflow has been restored. Using this simple script, my Hazel workflow works great:
/Applications/Retrobatch.app/Contents/MacOS/Retrobatch --workflow /Users/wsb/RetroBatch\ Workflows/Process\ Product\ Images.retrobatch
[the workflow itself looks in a particular folder, so that’s why I did not specify a folder on the command line].
But being a nitpick here - when /usr/bin/shortcuts called my RetroBatch workflow, the graphical app itself never opened. But I noticed that when I call RetroBatch from this shell script, RetroBatch [the GUI] briefly opens and then closes. Is there an argument to the command line version of RetroBatch that nixes this behavior? Semi-related, is there a list of arguments that the command line version accepts? I tried -h and --help to see if a list of arguments would display, but they didn’t.
TIA!