I've got a Shortcut that successfully takes an input file from Hazel using the new Shortcut action. But I can't get Shortcuts to send the updated file back to Hazel or even have the Shortcut save to the original path. If I try to save the file in Shortcuts it goes to a temporary file in /var and I cannot seem to get it out of that temporary folder. For example, Shortcuts, when used via Hazel, inexplicably runs all actions on:
- Code: Select all
/var/folders/0c/80n9c6gd3fzf6dp7d0 ytfk00000gn/I/ryan 2021 12 18 16.20.56.JPG
When I run the Shortcut in Finder via quick actions it works directly on the file. The Shortcut uses exiftool -overwrite_original to add keywords to input JPG. I've also tried using a shell script to launch Shortcuts using
- Code: Select all
shortcuts run "..." -i "$1"
macOS 12.1 Shortcuts is SO WEIRD and insanely frustrating.
Anyway, are there any tips on getting an output from Shortcuts to Hazel or to avoid that /var/ blackhole? I won't be surprised if I just have to wait for Shortcuts to mature a bit more.