I have several conditions that have to be met considering specific files in my downloads-folder. These conditions check for specific filenames, dates, patterns, etc. - all in all, I have more than 25 rules set up to match these files.
All of these 25 conditions, if matched, do the same: The file is copied into a disk image that has to be mounted before the file is copied into it.
Currently I have copied and pasted my "mount disk image"-script 25 times into my Hazel rules. With every new rule, I need to copy the whole thing again.
Is there a way to have Hazel do some specific set of actions when a rule is matched? (I am talking about something like a set of rules named "A" that has to be executed when conditions 1, 2, 3...23, 24 or 25 are met.)