Hazel claims rule does not match – appears to be in error

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

Moderator: Mr_Noodle

I have OCR'd scans and natively-generated pdfs with clearly selectable text. Both spotlight and Alfred (Inside Files) are able to locate the pdfs based on the text "account ending in 1234", however Hazel claims "Rule does not match" to the argument [Contents] [Contains] [account ending in 1234]. When I click the red error icon, I can clearly see that it does indeed match. Any help would be greatly appreciated.
eikelben
 
Posts: 2
Joined: Fri Nov 22, 2019 8:16 pm

If you search for the text in Spotlight with quotes around it, does your file show up in the results? Hazel is looking for an exact phrase match so searching for the terms as individual words may not show up the same.

Also, have you tried "Contents contain match"?
Mr_Noodle
Site Admin
 
Posts: 8219
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

My results were inconsistent – some documents would match, others would not (the text was clearly evident in the OCR layer of the PDFs). Because of that I switched all of the rules over to Contents Contain Match and am now getting accurate results.
eikelben
 
Posts: 2
Joined: Fri Nov 22, 2019 8:16 pm


Return to Support