Hi All,
I'm trying to get the javascript console to insert a PDF page from one of our network drives into another PDF document....but after each page. I can get the script to insert before the document or after the document, but I'm lost on what needs to happen to insert the same page more than once.
I'm going to then use that script into the action wizard. It's going to make two-sided printing a lot easier.
I was hoping someone could give me some insight on what I should be looking at to do this.
Also....the one page document is always the same, but the second PDF is not always the same amount of pages.
If the number of inserted pages is variable then put the insertPages code into a loop.
Another option is to create the "insert" PDF with multiple repeats of the same page. Then insert the needed number by adjusting the nEnd value in the "insertPages()" function.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script