Page 1 of 1

Feature Request: Global "Conditions List" option?

PostPosted: Sun Jul 27, 2025 9:49 pm
by melorama
I have a lot of rules that process downloads based on file extensions, like this:

Image

I just had to add an additional file extension to this set of conditions, and had to update 20 separate Hazel rules with the same extension addition, which needless to say was a rather painful process.

It got me to thinking that it would be really useful to have a global "conditions list" or "conditions bundle" that can be defined once, and then reused in multiple Hazel rules. And then if you need to ever update the conditions list, the changes will automatically apply to every Hazel rule that the conditions list is being used in.

Unless there's already another way to accomplish this in Hazel?

Re: Feature Request: Global "Conditions List" option?

PostPosted: Mon Jul 28, 2025 9:01 am
by Mr_Noodle
Look up custom list item attributes. You can have all those in a file which your rules can access.

Re: Feature Request: Global "Conditions List" option?

PostPosted: Mon Jul 28, 2025 4:37 pm
by melorama
Mr_Noodle wrote:Look up custom list item attributes. You can have all those in a file which your rules can access.


Oh that's fantastic! The "from file" option is an even easier way to define the lists. Thanks for the pointer.

However, it seems that I still need to build the actual Custom List Item rule and point it to the text file containing the list, every time I want to create a rule that matches the items on that list. I was hoping that you could access the list as a global "placeholder" token so that you could use them in all of your existing/future Hazel rules without having to manually define the Custom List Item token every single time. Or at the very least, the ability to copy and paste the condition from one rule to another.

But this is still a huge revelation for my Hazel workflow. Thanks!

Re: Feature Request: Global "Conditions List" option?

PostPosted: Tue Jul 29, 2025 8:33 am
by Mr_Noodle
You can copy and paste the rule if you need to. Why is this needed in so many different places?