Pattern matching across two different objects

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

Moderator: Mr_Noodle

Pattern matching across two different objects Tue Sep 03, 2013 6:10 am • by bzelner
I'm trying to do something in Hazel that I thought would be relatively simple but I haven't been able to figure out how to. Having browsed around the user forum, I now suspect that I need use a script. Specifically, I would like to write a rule that compares part of a file's name to the name of its parent folder and then take an action if they do not match. I have no problem creating custom tokens for the file name substring and for the parent folder name, but I can't figure out how to compare them.

Please advise. Thanks!
bzelner
 
Posts: 3
Joined: Tue Sep 18, 2012 6:22 pm

Unfortunately, you'll need a script for that.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support