sometimes it works, sometimes not

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

Moderator: Mr_Noodle

sometimes it works, sometimes not Sat Apr 30, 2022 9:19 am • by Calvin_T
Hello,

at this point already thank you for helping me.

I use Hazel for many years now. In the last few months Hazel has problems with pdfs. I didn't change the rules or s.th. else.
Sometimes Hazel recognizes the rules, sometimes not. Most problems occur with the content of PDFs. Hazel doesn't recognize the content. Rule example "Contents contain xxx": In Preview it shows "Rule does not match". If I click on the red cross, it shows me "xxx" in the content but Hazel can't recognize it.
I tried without success:
- I exported my rules, deleted the folder and imported everything.
- I renewed the rule

Maybe you know a solution.
Best regards,
Cal

IMAC mid 2011
High Sierra
Calvin_T
 
Posts: 4
Joined: Fri Mar 20, 2020 10:15 am

Re: sometimes it works, sometimes not Mon May 02, 2022 9:29 am • by Mr_Noodle
If using "Contents contain", note that it uses Spotlight. You can try diagnosing Spotlight on your machine. Alternatively, you can use "Contents contain match", which does a direct scan of the file bypassing Spotlight. Note that it is more resource-intensive though.
Mr_Noodle
Site Admin
 
Posts: 11867
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: sometimes it works, sometimes not Fri May 06, 2022 3:46 am • by Calvin_T
Hello Mr. Noodle,
thank you very much for your help. The interesting thing: when I open the downloaded PDF, Hazel runs immediately. If I just download the PDF, nothing happens.
Best regards,
Calvin
Calvin_T
 
Posts: 4
Joined: Fri Mar 20, 2020 10:15 am

Re: sometimes it works, sometimes not Fri May 06, 2022 9:14 am • by Mr_Noodle
Was the file OCRed via Fujitsu Scansnap software, by chance?
Mr_Noodle
Site Admin
 
Posts: 11867
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: sometimes it works, sometimes not Fri May 06, 2022 9:45 am • by Calvin_T
I don't know. These are different sources. For example, I downloaded the PDF from my bank account
Calvin_T
 
Posts: 4
Joined: Fri Mar 20, 2020 10:15 am

Re: sometimes it works, sometimes not Mon May 09, 2022 9:18 am • by Mr_Noodle
What browser/program are you using to download them?
Mr_Noodle
Site Admin
 
Posts: 11867
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: sometimes it works, sometimes not Mon May 09, 2022 9:57 am • by Calvin_T
Firefox (Mac) or Safari
Calvin_T
 
Posts: 4
Joined: Fri Mar 20, 2020 10:15 am

Re: sometimes it works, sometimes not Tue May 10, 2022 9:20 am • by Mr_Noodle
And you find the same behavior for both? Are you downloading to the Downloads folder? Is Spotlight enabled for that folder?
Mr_Noodle
Site Admin
 
Posts: 11867
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support