Trying to find an Adobe .pdf file can take a lot of time if I've forgotten where the electronic document is located. I include a "plot stamp" on all CAD files that automatically updates if the file is moved to a different folder and was wondering if the same principle could be applied to PDF documents.
How can I get the information concerning the location of a file (AutoCAD would define it as a plot stamp) and insert it in a footer or a text box with the actual name of the file included?
For the folks that access our pdf documents it will have to be printed in "Windows" jargon: "G:\Utilities\Drawings\Generators\Generator 4\GN4VP-1 VACUUM PUMP.pdf".
The idea is that this would be similar to the Document Properties | Description tab | Advanced | Location: information that is displayed.
I am presently using Adobe Acrobat 7.0 Professional. Everyone else pulling up the documents uses Adobe Reader.
Many thanks.
If the "name" of the text box was "MyFooter", then placing this code in a document script would place the current file path into the text field.
this.getField("MyFooter").value = this.path;
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script