These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Batch Processing with JavaScript using MySQL DB for Metadata

spidermitch
Registered: Feb 10 2010
Posts: 2

I've only discovered one post that seems to be close, but I cannot seem to get anything to work as of yet. Here's what I'm trying to accomplish:
-Batch process a directory of PDFs and update the title property using a database

The constraints I'm under:
-PDF manipulation must be done with Acrobat (PDFtk not acceptable)
-Using Acrobat 8 Pro
-MySQL database
-Portable batch script(aka, can't depend on ADBC on any given box)

From everything I've read, it seems that I should be able to process a formSubmit and return an FDF. However, I've been trying various tests using a php script to even simply a text file with a hardcoded FDF.

My question is if there is a better way to do this. Unfortunately I'm constrained to use Acrobat and this has plagued me for quite a while as I've gone through many iterations of attempts at getting the job done.

Now I'm just looking for some direction to see if I'm way off track. Thanks to anyone with some ideas.

My Product Information:
Acrobat Pro 8.1.3, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
It should be possible, but accessing a DB with a script is far from trivial and requires a lot of knowledge of Acrobat JavaScript.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com