You can do this with JavaScript. My company has a tool (AcroButtons) for creating custom toolbar buttons for Acrobat, and adding the file name to a PDF is one of the included JavaScripts. You can download a free trial and create a toolbar for this and/or examine the code used to do it. Adding a file name to a PDF is also one of the examples shown in a product video on this page- [url=http://www.windjack.com/products/acrobuttons.php]http://www.windjack.com/products/acrobuttons.php[/url]
You can do this with JavaScript. My company has a tool (AcroButtons) for creating custom toolbar buttons for Acrobat, and adding the file name to a PDF is one of the included JavaScripts. You can download a free trial and create a toolbar for this and/or examine the code used to do it. Adding a file name to a PDF is also one of the examples shown in a product video on this page-
[url=http://www.windjack.com/products/acrobuttons.php]http://www.windjack.com/products/acrobuttons.php[/url]
Hope that helps,
Dimitri
WindJack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]
Dimitri Munkirs
WindJack Solutions
pdfscripting.com