Page 1 of 1

Contents > contain issue

PostPosted: Sat Oct 19, 2013 12:06 pm
by dhgorilla
Hi,

Is there an issue with Contents>contain? Trying to find a word in a PDF using contain gives me no results. Using "contain match" finds the word without a problem. I'm on Hazel 3.1.5.

Thanks in advance.

Re: Contents > contain issue

PostPosted: Mon Oct 21, 2013 3:28 pm
by Mr_Noodle
"Contents contains" uses Spotlight so if there's an issue with Spotlight indexing that file, it will affect Hazel as well. You can test this by searching for the term in Spotlight. If the file in question doesn't show up, it won't match in Hazel either.

Re: Contents > contain issue

PostPosted: Mon Oct 21, 2013 7:46 pm
by dhgorilla
Ah OK. Content>contains match" doesnt use spotlight then?

Thanks!

Re: Contents > contain issue

PostPosted: Tue Oct 22, 2013 3:20 pm
by Mr_Noodle
No, matches will actually go through the file. It can be considerably slower as a result.

Re: Contents > contain issue

PostPosted: Fri Nov 15, 2013 1:36 pm
by kriro
Same problem here. Spotlight finds the file ok, whereas "Contents" "contain" does not match in Hazel's rule, though.

Sample data and rule setting has been sent to support.

I am on Hazel 3.2.1b1049.