Hi to all,
I tried to use the sample code in JS developer guide in combining PDF documents, and it worked. However, it only works if filenames are specified in the script. What should I do or modify to let the script process or merge all PDF files in a certain folder, without the need of specifying their filenames. Thanks!
1. Use a script in a batch process. I won't get into the script you'll need for this. Because the order of document processing can't be controled I don't think it's a good solution.
2. A much better solution is to write a VB or AppleScript application that uses the Acrobat IAC to open and append the documents. To find out more about the IAC, goto this web page:
http://www.adobe.com/devnet/acrobat/
Click on the "Documentation" tab and scroll down to "InterApplication Communication"
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script