Page 1 of 1

Rename PDF based on Content — Help!

PostPosted: 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!

Re: Rename PDF based on Content — Help!

PostPosted: 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.