How to rename file from OCR content

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

Moderator: Mr_Noodle

How to rename file from OCR content Tue Nov 26, 2013 6:31 pm • by hoo22
Hi

I'm wanting to scan a lot of paper documents soon with my scansnap manager software.

I intend to scan them to PDF's that have been OCR'd.

What I'd like Hazel to do is to be able to take the top line of text in the scanned pdfs and use that to rename the file.

is there a way to do this?
hoo22
 
Posts: 4
Joined: Tue Nov 26, 2013 6:26 pm

Re: How to rename file from OCR content Wed Nov 27, 2013 2:21 pm • by Mr_Noodle
You could try using "Contents contain match (•first line)" where •first line matches "anything". Since "anything" doesn't go across line separators, it should match the first line in this case. That said, the way the OCR writes out the text, what it considers a line may not be what you would so keep that in mind when trying something like this.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: How to rename file from OCR content Thu Nov 28, 2013 9:01 am • by hoo22
Ok, Thanks.
I'll have a play around with that option and see how it goes.
hoo22
 
Posts: 4
Joined: Tue Nov 26, 2013 6:26 pm


Return to Support