Hi,
I've read the tutorial of Thom Parker creating a button and importing the same metadata into a PDF and thought it was a great idea. The problem is that in my case the metadata are different for every PDF created. I've also created my own custom panel in the "additional metadata" window of Acrobat.
I'm hence wondering if the following would work. Import the customed XMP file into a PDF by using a button?
Thanks,
Bonurbe.
For example, for an all JavaScript solution you could write a script that loads the XMP file into an embedded file, using the "doc.importDataObject()" function, and then use the XMLData object to parse and insert the custom XMP into the document metadata. There is an example of using the XMLData object in the doc.metadata entry in the Acrobat JavaScript Reference.
Another approach that might be more suitable for you purpose is to use the Acrobat IAC interface to build a VB application that passes the custom XMP data into an Acrobat Folder Level Script that then parses and inserts the custom XMP into the document metadata.
You can find both the Acrobat JavaScript Reference and the IAC reference on this site:
http://www.adobe.com/devnet/acrobat/
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script