Page 1 of 1

Copy Repetitive Rule

PostPosted: Fri Feb 10, 2017 6:12 pm
by lumbarjak
Is there a way to copy existing rules and make minor edits to create a new rule? I have a need to create multiple rules with the same steps only changing logic/match variables. I love hazel...only if it could automate its self. :lol:

Re: Copy Repetitive Rule

PostPosted: Mon Feb 13, 2017 12:26 pm
by Mr_Noodle
Are you sure you can't consolidate those rules instead? Can you give more details on the rules you are trying to create?

Re: Copy Repetitive Rule

PostPosted: Wed Feb 15, 2017 3:17 pm
by lumbarjak
I have a rule set up for a scanning folder which will pull account numbers and dates from a .pdf, rename and move to a permanent folder. Coded:

IF <PDF> and Contains <account number> and contain Match <Date>

Then Rename <Date - Name Extenstion> and Move to folder <xyz>

I have about 50+ unique identifiers that I would like to set up rules without having to click through creating a new rule each time. If there is a better alternative, great. More detail on what I guess I am asking is there a way to check next to rule in the folders box and clone the rule steps where the only changes that would need to be made are rule name, account numbers and folder.

Re: Copy Repetitive Rule

PostPosted: Thu Feb 16, 2017 12:57 pm
by Mr_Noodle
That might be a bit tricky. You could try and create a script which checks the ids in a file and tries to match against those. That way, you can have one rule and you just have to add the identifier to the file.