Hi All,
Could you please help me with the following:
I would like to rename a PDF according to specific words inside the PDF. Is that possible and how can I do it?
Thanks in advance!
Hi All,
Could you please help me with the following:
I would like to rename a PDF according to specific words inside the PDF. Is that possible and how can I do it?
Thanks in advance!
Hi
Welcome to uipath forum
Hope the below steps would help you resolve this
we can use MOVE FILE activity
That is get the pdf files from a folder using a assign activity like this
arr_files = Directory.GetFiles(“yourfolderpath”,”*.pdf”)
Where arr_files is a variable of type array of string
—now use a FOR EACH activity and pass the above variable as input
—inside the loop use a MOVE FILE activity where in the path property mention as item.ToString
And in Destination property mention the
“Yourfolderpath\”+”your new Filename”+”.pdf”
You can get the text from pdf by reading it using READ PDF FILE activity and get the string manipulation done and pass it as new Filename
Cheers @amenoufy
Hi Palaniyappan,
Firstly thank you for taking the time to instruct me. I really appreciate it. I would like to add a question if I may:
In this case the file will be renamed “Amenoufy”
Thanks in advance!