OCR image and add text in comment field to file?

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

Moderator: Mr_Noodle

Hi, wondering if this is theoretically possible with Hazel…

On a folder, have a rule that passes the image to a bash script that OCRs it. Then take that output and insert it into the comment field in the file, so that it could be searched with Alfred or Spotlight.

Is that possible with Hazel?
edwardsjethro
 
Posts: 1
Joined: Thu Mar 28, 2024 5:20 am

You can't pass data back to Hazel via shell scripts. You would need to use AppleScript for that. The manual has details on how to do that.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron