Acrobat -- adding a button or menu item to run some javascript to persist CreationDate in metadata
I need to persist the original CreationDate of PDFs. As they get moved to different directories the operating system will update the CreationDate of PDFs.
I'd like to add a button or menu item to Acrobat that a clerk could click or select that would run the following javascript:
this.info.Author = this.info.CreationDate;
This would persist the CreationDate in the Author field. We always be able to determine the original creation date of the document no matter how many times it gets moved and the OS updates the CreationDate field.
Essentially, I'm looking for a way to build an application-level button or menu item that can run this simple script. The button/menu item should become active as soon as a document is loaded/opened.
Thanks for any guidance.
Christian Bahnsen
