Skip to main content
Inspiring
August 21, 2024
質問

how to replace certain pages with one page at the same time ?

  • August 21, 2024
  • 返信数 2.
  • 4585 ビュー

Hi 

I have pdf file of 400 pages , I want to replace certain pages with one page from another file

Ex : I want to select page 4 , 16 , 50 , 60  at the same time , replace them with one page

I mean that the page from the the other pdf file is to duplicate , put instead of the selected pages

Thanks

このトピックへの返信は締め切られました。

返信数 2

PDF Automation Station
Community Expert
Community Expert
August 21, 2024

Do either of the pages (old and new) have form fields or comments that you want to keep or add?  Your answer depends on the solution.

r36058804bwut作成者
Inspiring
August 21, 2024

No , It don't contain any form fields or comments

r36058804bwut作成者
Inspiring
August 21, 2024

Undfined is correct when definining a variable.  Now run the rest of the script.


when I run the rest of the script

for ex :

this.replacePages(3, pth, 0,0);
this.replacePages(4, pth, 0,0);

It replaced page 5 only , other pages remain no change

Is there a simplifier method to delete pages using the script directly

I mean as a beginner , when I wote in script page number 5 ... it directly delets this page

and Is this script can have a simple interface like indesign , photoshop , and illustrator

Thanks for your patience

 

r36058804bwut作成者
Inspiring
August 21, 2024

Any Help Here !!