Page 1 of 1

Similar names - how to differentiate them?

PostPosted: Sat Oct 19, 2019 3:31 am
by ruiguerreiro
Hi everyone,
I have 2 types of invoices from Apple: Mac App Store, App Store. When I try to set different rename rules for them based on the PDF contents, I keep getting the first one to rename all the invoices. I suspect that this has to do with the fact that, in the end, both have "App Store" in the contents.
How can I tell Hazel that they are not the same and apply a different rule accordingly?
Thank you so much.

Re: Similar names - how to differentiate them?

PostPosted: Sun Oct 20, 2019 11:21 am
by Trickyt57
ruiguerreiro wrote:Hi everyone,
I have 2 types of invoices from Apple: Mac App Store, App Store. When I try to set different rename rules for them based on the PDF contents, I keep getting the first one to rename all the invoices. I suspect that this has to do with the fact that, in the end, both have "App Store" in the contents.
How can I tell Hazel that they are not the same and apply a different rule accordingly?
Thank you so much.


Answer:
Very easy: insert an extra condition excluding some unique text, for example:
"If all of the following conditions are met for the current file:
Contents contain App store
Contents do not contain Mac App Store"

Re: Similar names - how to differentiate them?

PostPosted: Mon Oct 21, 2019 5:40 am
by ruiguerreiro
It's that easy! :)

Thank you so much @Trickyt57