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

Modifying PlaceMultipagePDF.jsx

New Here ,
Mar 18, 2010 Mar 18, 2010

Copy link to clipboard

Copied

Hi there,
I need to merge two pdf files: one with 140 pages of pictures and design elements and another pdf file with the according text pages - first german, then english, french et cetera. By merging I mean putting one page on top of the other, maybe as a separate layer, not after another.
Using the predefined script "PlaceMultipagePDF.jsx" I've added the pages of the first pdf to an InDesign document. When I tried to add the text pdf file on a second layer, the first page of text is laid on top of the first existing picture page (as intended), after that the text pages 2-140 are inserted, then picture pages 2-140 follow, adding to 279 pages.
Could someone please tell me how to merge the pages as I intend to by modifying the .jsx file? Or at least give me a hint? Text page 1 and picture page 1, text page 2 and picture page 2 and so on.
Thanks a lot in advance, Tim

TOPICS
Scripting

Views

9.7K

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

correct answers 1 Correct answer

Community Expert , Mar 18, 2010 Mar 18, 2010

there's a better script out there for placing pdfs which has its own instruction manual.

http://indesignsecrets.com/downloads/MultiPageImporter2.2.1.zip

i think this will do what you want. don't forget to thank scott zanelli for the script too

colly

Votes

Translate

Translate
Community Expert ,
Mar 18, 2010 Mar 18, 2010

Copy link to clipboard

Copied

there's a better script out there for placing pdfs which has its own instruction manual.

http://indesignsecrets.com/downloads/MultiPageImporter2.2.1.zip

i think this will do what you want. don't forget to thank scott zanelli for the script too

colly

If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!

Votes

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
Enthusiast ,
Mar 18, 2010 Mar 18, 2010

Copy link to clipboard

Copied

Modify temporarily the line (in my script it's line 106)

myPage = myDocument.pages.add(LocationOptions.after, myPage);

to

myPage = myDocument.pages.nextItem(myPage);

and run script.

Don't forget to change back

Votes

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
New Here ,
Mar 19, 2010 Mar 19, 2010

Copy link to clipboard

Copied

Thank you both very much.

Steven, unfortunately the change you posted didn't work for me. Maybe I should have mentioned that I work with CS3. The script terminates with an error.

Cdflash, this is exactly what I needed. The script works like a breeze. My colleagues and I were astonished to see the work of hours being done in seconds.

And yes, I will try to find Scott Zanelli's website to thank him

Votes

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
New Here ,
Mar 19, 2010 Mar 19, 2010

Copy link to clipboard

Copied

Hi,

I am interested in this function too, the only thing is I am using indesign cs4, is the script compatible? Could you put a link so I can download it and test it?

Thanks a lot

Votes

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
Community Expert ,
Mar 19, 2010 Mar 19, 2010

Copy link to clipboard

Copied

LATEST

Ahhhh Google. Can't live without it.

http://indesignsecrets.com/zanelli-releases-multipageimporter-for-importing-both-pdf-and-indd-files.php

(Note especially the note on "Added for CS4.)

Votes

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