From Automator to Hazel
Table of Contents
Reasoning: Multiple screenshots would lock up entire Mac on shortcuts thread 202301100128, which I couldn't have because I use Alfred SC to run a quick capture Obsidian shortcut
Hazel seems to fix this problem but came with it's own issues. It compressed all the (already compressed) images in the folder at init time, which was annoying.
I had to change the following:
for f in "$@" do /opt/homebrew/bin/pngquant 64 --skip-if-larger --strip --ext=.png --force "$f" /opt/homebrew/bin/zopflipng -y "$f" "$f" done
/opt/homebrew/bin/pngquant 64 --skip-if-larger --strip --ext=.png --force "$1" /opt/homebrew/bin/zopflipng -y "$1" "$1"
In addition, Hazel kept showing this weird error and refused to process newly inserted screenshots. Rules were matching but the workflow wasn't firing
Noodlesoft Forums • View topic - hazel stopped working unless 'forced'
HazelHelper\[99678\] Attempted to run worker on undeployed folder
I had to delete folder and run the whole thing again from scratch to "unstuck" it.
This part especially pissed me off because all the online discourse around Hazel was so positive that I wasn't able to find a good centralized repository with troubleshooting -- and the logs + UI were less than helpful to say why the match was happening but the rule was failing.
am i the only person to say something negative about hazel wth is going on with this app its so weird to maneuver
*date added at… (very unhelpful!!)*
Bram Adams Newsletter
Join the newsletter to receive the latest updates in your inbox.