Hello!
I am needing some guidance on the steps used to complete the following:
Open each pdf inside a folder
edit the pdf
save the pdf
I need to repeat these steps for about 100 pdf’s. Thanks for any help!
Hello!
I am needing some guidance on the steps used to complete the following:
Open each pdf inside a folder
edit the pdf
save the pdf
I need to repeat these steps for about 100 pdf’s. Thanks for any help!
For each file in folder can be used to loop theough each file in folder
Can you please tell what kind of edits you want to perform?
Cheers
Step 1: Use for each file in a folder with pdf filter
Step 2: You can use the PDF activities. Which you need to get from manage packages then
You can use the “Read PDF Text” activity to read the text from the PDF.
Sorry my bad. I was thinking about word then converting word to PDF. Write & Save is not there in pdf activities.
I need to write on each pdf, so I need it to open, write and then close the pdf.
I have a for each file in folder but I’m not sure how to open the file individually to write on them.
You dont have an activity to edit or write on pdf
One way you can try is inside for eqch file in folder use ui activities and open each file using acrobat and edit and try to write and save
Currentfile.fullname will give the location to open…
You can pass the file location and acrobat.exe location to open application/browser and file will be opened
Cheers
Thank you,
would you be able to share an example sequence?
Thank you so much!! I will let you know if this solution works.
Hi @Skyler_Blu
Try
Directory.GetFiles(“Your Directory”, “*.csv”,SearchOption.AllDirectories)
Or
Regards,
Prasanth Kumar Manivannan
BattleBots!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.