rename pdf from info within

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

rename pdf from info within Sun Feb 02, 2025 9:39 am • by pfbIII
I am attempting to rename a document from info within the document. Each file will have a field Name:.

The name is the Last, First.

I am trying to just rename with some number of the characters that follow like Last-1st 3 initials or even some fixed numer of characters.

I have never written apple script and cannot determine if this is possible with built in tools.

Thank you for any guidance
pfbIII
 
Posts: 2
Joined: Sat Oct 07, 2017 12:25 pm

Re: rename pdf from info within Mon Feb 03, 2025 9:59 am • by Mr_Noodle
You shouldn't need AppleScript for this. Look up match patterns in the manual.
Mr_Noodle
Site Admin
 
Posts: 11755
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Open Discussion