Page 1 of 1

Hazel rules execution order

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

Re: Hazel rules execution order

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