Rename PDF based on Content — Help!

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

Moderator: Mr_Noodle

Rename PDF based on Content — Help! Tue May 14, 2019 7:06 pm • by wellslake
Hi There,

I would like to use Hazel to rename some PDF files with the first line of text within the individual PDF files.

I cannot for the life of me figure out how to do this.

Can someone please point me in the right direction?

Thanks so much!
wellslake
 
Posts: 1
Joined: Tue May 14, 2019 7:03 pm

Re: Rename PDF based on Content — Help! Wed May 15, 2019 10:51 am • by Mr_Noodle
I've moved your topic here as it's not appropriate for the Site/Forum discussion.

You want to use the whole first line? You can try a pattern like (anything) which will match everything up to a newline. Note that what you think is the first line may not actually be the first line in the PDF but I suggest starting with that.
Mr_Noodle
Site Admin
 
Posts: 11193
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support