Hazel rules execution order

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

Moderator: Mr_Noodle

Hazel rules execution order Sun Jul 24, 2016 11:36 am • by chrisbunch
Are rules set for a folder executed in the order they appear in the window? If so is it possible to move them around to change the order?

I am watching a folder for files just scanned (ScanSnap) and using a sequence of Hazel rules to rename & dispatch them to appropriate folders according to their content (eg bank/credit card statements, payslips etc). This works fine. My next step will be to add a catchall rule at the end with user input to rename the file, then have filing directed by the new name.

I'd like to be sure this rule will execute last, i.e. when all the other rules have failed to match.

C
chrisbunch
 
Posts: 12
Joined: Sun Jul 24, 2016 10:13 am

Re: Hazel rules execution order Mon Jul 25, 2016 12:00 pm • by Mr_Noodle
They do go in order, but only the first rule to match is the one that gets executed. If you want a fallthrough rule at the end, then you'll need to add the "Continue" action to the rules preceding it.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support