Manually Run Hazel Rule through AppleScript

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Manually Run Hazel Rule through AppleScript Sun Nov 08, 2020 5:08 pm • by united
Hey,

I was wondering if there is a way to "run rules" on a specific folder through AppleScript?

The issue I'm having is:
I have rules in one folder1
- rule 1 is - pull all files that are ".jpg" and move them to folder1
- rule 2 is - move files (.jpg) to "external HD1" when available

This works 95% of the time but then sometimes I notice it doesn't work. But if I manually run the rules (hazel menu > run rules > folder1) on that folder again then it works as the previous times. So thought I could use an AppleScript with hazel to re-run the rules on the folder.
united
 
Posts: 62
Joined: Wed Mar 14, 2012 3:48 pm

I think it's better to look into why it isn't working. I suggest going through the troubleshooting guide here: https://www.noodlesoft.com/kb/hazel-tro ... ing-guide/

Report back with the results (you can email them if you like).
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support