Page 1 of 1

Manually Run Hazel Rule through AppleScript

PostPosted: 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.

Re: Manually Run Hazel Rule through AppleScript

PostPosted: Mon Nov 09, 2020 10:41 am
by Mr_Noodle
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).