Info on form to rename file

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

Moderators: Mr_Noodle, Moderators

Info on form to rename file Tue May 28, 2024 12:22 pm • by GiLLiGaN
Hello

I have form with identification of the person. On the first line, i have Name with the real name under. On the second line, i have email adress, and the person wrote is email under.

Is that possible to rename the file with the real name of the person ? If yes, how to do that please.

Thats what it look :

NAME
Gilligan Island

I heed to rename .pdf file with : Gilligan Island.pdf.
Thanks for your help
GiLLiGaN
GiLLiGaN
 
Posts: 5
Joined: Sat Nov 25, 2017 5:46 pm

Re: Info on form to rename file Wed May 29, 2024 10:48 am • by Mr_Noodle
One thing to try is that the "anything" token matches any text up to a newline. So to grab a line of text, you can specify the anything token. After that, you can then specify a custom attribute which the "anything" token as the pattern. This would then match the second line and capture it into that custom attribute. You can then use that custom attribute in a Rename pattern.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Open Discussion