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

Batch process with unique metadata for each file?

rstock99
Registered: Aug 8 2011
Posts: 1

I have a set of 200+ PDFs, and a table with their current filenames, desired new filename, and desired new value of the document title property (unique for each file). The table is now sorted by current filename, but I can change that.
 
Is there a simple way in Acrobat X Pro to make these changes in a single batch/action?
 
One approach would be to put the table as an external text file (maybe CSV), and use javascript in an Acrobat action to somehow match the name of a file being processed to an entry in the table, then set the doc title property, and hopefully then save the revised PDF with the new filename from that table. Anyone know of some existing script code that does something like this so I don't start from scratch?
 
Or is there a simpler way to do this?
 
Thanks

My Product Information:
Acrobat Pro 10.1, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
There is not a simpler way, you have the right idea.

But, instead of using an Action you could put the whole thing in an automation script. Since the file names are in the data file a script can use these names to open each file on the list.

Take a look at this article:
Getting External File Data

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script