Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Replacing the back page of multiple documents

New Here ,
Oct 04, 2021 Oct 04, 2021

Hello!

I have a folder with a few hundred documents in it. These all have the same back page. We are updating some wording for the back page. Is there a way to target all of these files and apply a mass update to them all? I have played around a bit with the "Action Wizard" tool. This seems promising but I haven't been able to make it work quite right. 

I'd like to: Delete current back page, Insert new back page, Save document in new folder.

 

Any help is greatly appreciated. Thank you!

TOPICS
Create PDFs , Edit and convert PDFs , How to
1.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Oct 04, 2021 Oct 04, 2021

Yes, by using a script. Let's say the path of the new back-page is C:\Files\NewBackPage.pdf .

Use an Action, as described above, but have it execute this JavaScript code instead of using the Replace Pages command:

 

this.replacePages(this.numPages-1, "/C/Files/NewBackPage.pdf");

 

Notice I used forwards-slashes in the file-path in the code, instead of the normal back-slashes. You must do the same!

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 04, 2021 Oct 04, 2021

Also, I am using Acrobat Pro 2020.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 04, 2021 Oct 04, 2021

You can use the Action Wizard tool to replace page 2 of a PDF. Go to Tools> Action Wizard> New Action> Pages> Replace pages, click the plus sign (+) to add the action to the right side column. Scroll down to Save & Export> Save, add it to the right. Click on the settings of the added actions to complete the new action. When done, you can apply the action to a file, or a folder of files. Note, replace pages will retain any interactive features (like buttons or form fields) of the original PDF. If you need to replace those too, use the delete page and insert page actions instead.

Replace.pngexpand imagesave.pngexpand imageAdd folder.pngexpand image

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 04, 2021 Oct 04, 2021

That will only work if they all have the same number of pages.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 04, 2021 Oct 04, 2021

Each document may have a different number of pages. Is there a work-around for this?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 04, 2021 Oct 04, 2021

Yes, by using a script. Let's say the path of the new back-page is C:\Files\NewBackPage.pdf .

Use an Action, as described above, but have it execute this JavaScript code instead of using the Replace Pages command:

 

this.replacePages(this.numPages-1, "/C/Files/NewBackPage.pdf");

 

Notice I used forwards-slashes in the file-path in the code, instead of the normal back-slashes. You must do the same!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 04, 2021 Oct 04, 2021
LATEST

Thank you all so much. This worked out great and saved me probably a couple of days of insane boredom.

 

Thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines