Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Duplicate and arrange multiple pages

Community Beginner ,
Jun 21, 2021 Jun 21, 2021

Copy link to clipboard

Copied

I have a 2 pg pdf. I need to duplicate pg1 4 times and pg2 1 time, then rearrange. I'm not well versed with java. Is there a script for this?

 

This is an ongoing process that will need to be applied to multiple files.

TOPICS
How to, JavaScript

Views

150

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Jun 21, 2021 Jun 21, 2021

Copy link to clipboard

Copied

LATEST

Do these pages contain fields? If so, do you wish that the fields on each copy will have unique names?

Generally speaking, you can duplicate pages either by inserting them from the same file into itself (using the insertPages method) or by converting them into a Template and then spawning new copies (this can be used to automatically rename the duplicated fields, hence my previous questions).

To move pages around you can use the movePage method.

Likes

Translate

Translate

Report

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