How to use multiple ifs and thens

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

Moderator: Mr_Noodle

How to use multiple ifs and thens Sun Jan 11, 2015 3:34 pm • by isnerv
I'm new to Hazel, and this may be a simple question, but here goes. Can you create several "ifs" and "thens" in a single command? Here's an example: Say I want Hazel to move anything related to utility bills into a Utilities folder AND sort all of those that are labeled "Electric" or "Gas" or "Water" into subfolders (or at least color code the files) - it seems to require that a specific "if" statement be linked to a specific "then" statement. Is this possible, and if so, how? Thanks!
isnerv
 
Posts: 1
Joined: Sun Jan 11, 2015 3:21 pm

Re: How to use multiple ifs and thens Mon Jan 12, 2015 12:35 pm • by Mr_Noodle
It seems like you want to do this in separate rules. Either that, or use match patterns. It really depends on the specifics so if you provide more details I can better advise.
Mr_Noodle
Site Admin
 
Posts: 11866
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support