Hi I'm currently using Acrobat Professional 7.1 and I was wondering if there is a way to dynamically update the footer so it can say something like "Last Revised 02/30/10" or "Last Revised January" or something of that sort. Also the thing is this document is locked but will be unlocked to edit so I don't know if that makes a difference and it has form fields. Thanks.
Here's the script:
this.getField("MyDataField").value = util.printd("mm/dd/yy",new Date());
To refresh the date whenever the file is saved place the script in the "WillSave" event.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script