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

Script to interleave two InDesign files of equal page counts

Participant ,
Nov 01, 2008 Nov 01, 2008
I need to merge two documents so that the new one has pages alternating one from each of the source documents. The source files have the same page dimensions and page counts. Or it could be done by inserting pages from one into the other to produce the interleaved merged document.

This could also work if the source files were sections in a book and a script would print pages alternating one from each section of the book. The script could print to Adobe pdf and produce an interleaved pdf.

Although my purpose is different, this would be needed by some one scanning documents with a non duplexing scanner to merge the scanned pages into one pdf. I have searched the forums with no results.

Does anyone know of any scripts to do this, or similar ones that can be modified to do it?

Thanks,

Al
TOPICS
Scripting
9.4K
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
Participant ,
Nov 02, 2008 Nov 02, 2008
Hi Loic,

Thank you also for any time you may have spent on this project. If by chance you have something partially worked up using the Acrobat approach, perhaps you could post that.

Al
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
Participant ,
Nov 02, 2008 Nov 02, 2008
I'm getting feedback that the CS4 bug I mentioned doesn't always happen. I'll research that some more later today, when I get the chance.

Dave
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
Participant ,
Nov 02, 2008 Nov 02, 2008
I couldn't wait, so I came to the shop to test the script.

I made a two page non-spreads doc with numerals 2 and 4 on pages 1 and 2 respectively, and another similar doc with numerals 1 and 3 on corresponding pages. With the odd numbers doc front most I ran Dave's script and was rewarded in a flash with a new doc having pages numbered 1, 2, 3, 4. Way to go Dave!

It's worth noting that with the even numbers doc front most, the result is a new doc with pages numbered 2, 1, 4, 3, showing the importance of having the open files in the proper order before running the script.

Thanks again Dave.

Al
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 ,
May 13, 2009 May 13, 2009

I'd like to thank you as well Dave, for a different reason. I'm kind of a newbie scripter, setting up some automated processes for my company and your script showed me how the correct syntax for changing placed page numbers. So I just wanted to say, thanks a ton!

-Tim Porath

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