Yes, you could do this with a batch process (aka action) using the doc.insertPages method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.504.html
You don't actually need to use code. There's a built-in batch action called
"Insert Pages" that will do the same in a more user-friendly way.
We know about the "Instert Pages" option but we're trying to do something less manual and time consuming. We're trying to find a way to apply one page to (for example) 500 seperate individual PDFs. Is that possible?
If you have Acrobat Pro then you can create a batch process (or Action, as
it's called in Acrobat X) to do just that.
This is an interesting thread, and I wonder if it can be applied to our situation.
We want to use the Print Portfolio feature, but none of the default sort orders work for us - we want to be able to print out a list of documents according to our build of materials listing.
If we use the "combine PDF" feature, odd/even page document mixes don't print correctly.
Is there anyway we can script a folder of PDFs to see if a file has an odd number of pages to insert a blank page at the end of the file so we can print a combined PDF double-sided correctly?
Any help is appreciated!
BTW - Working with Adobe Acrobat 9 Windows on Windows 7 :-)