Page 1 of 1

Images files opened by rule intended for spreadsheets, why?

PostPosted: Thu Jan 08, 2026 3:45 pm
by garry4
Can someone explain why a Hazel rule intended to open spreadsheets is opening image files in Preview.app. I found this by
1) Open Hazel log
2) Drag Img_2704.jpg into the monitored folder.
3) Wait until the image opens in Preview app
4) Search log for 2704
5) The full search result is pasted below. The rule it referenced: Rule Open Spreadsheets Moved from Downloads matched.

Toggle the rule off image files do not automatically open.
Toggle the rule on and image files open.
Test the rule on an new image file and the only green check is "Date added in the last minute" Her is the rule:

Date added in the last minute
Extension is: xls, xlsx, csv
Open with default app

2026-01-06 13:57:23.134 hazelworker[27363] Error getting volume URL for /Users/garryweber/.Trash/Anne Business Receipts: Error Domain=NSCocoaErrorDomain Code=260 "The file “Anne Business Receipts” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///Users/garryweber/.Trash/Anne%20Business%20Receipts, NSFilePath=/Users/garryweber/.Trash/Anne Business Receipts, NSUnderlyingError=0x600002704420 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
2026-01-08 13:58:38.558 hazelworker[63217] Could not extract text from image /Users/garryweber/Documents/Action Hazel/IMG_2704.jpeg
2026-01-08 13:58:53.506 hazelworker[63217] IMG_2704.jpeg: Rule Open Spreadsheets Moved from Downloads matched.
2026-01-08 13:58:58.249 hazelworker[63217] Could not extract text from image /Users/garryweber/Documents/Action Hazel/IMG_2704.jpeg
2026-01-08 14:00:25.849 hazelworker[63217] Could not extract text from image /Users/garryweber/Documents/Action Hazel/IMG_2704.jpeg
2026-01-08 14:03:33.349 hazelworker[63277] Could not extract text from image /Users/garryweber/Documents/Action Hazel/IMG_2704.jpeg
2026-01-08 14:09:45.949 hazelworker[63383] Could not extract text from image /Users/garryweber/Documents/Action Hazel/IMG_2704.jpeg

Re: Images files opened by rule intended for spreadsheets, w

PostPosted: Fri Jan 09, 2026 9:27 am
by Mr_Noodle
Are your conditions set to "any" or "all"?