Name contains: Receipt *or* invoice *or* payment

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

Moderator: Mr_Noodle

I want Hazel to only act on pdf's that have certain words in the name.

Code: Select all
Kind is PDF
Name contains payment, invoice, *or* receipt


         

Can I use
Code: Select all
Name contains payment || invoice || reciept

Is it possible for Hazel to choose through a list of possible parameters to make her choice from?

-Josh
joshsmith01
 
Posts: 6
Joined: Tue Aug 16, 2011 2:50 pm

Hold OPT to give hazel the option for nested conditions. You will see the [+] turn to a [ . . . ]:

Code: Select all
if (all) of the following conditions are met for (the file or folder being processed):
     kind is pdf
     if (any) of the following conditions are met for (the file or folder being processed):
          name contains payment
          name contains invoice
          name contains receipt

Do the following to the matched file or folder:
     …
a_freyer
 
Posts: 631
Joined: Tue Sep 30, 2008 9:21 am
Location: Colorado

@a_freyer Perfect, thank you for that great tip. It works perfectly.
joshsmith01
 
Posts: 6
Joined: Tue Aug 16, 2011 2:50 pm


Return to Support