Copy link to clipboard
Copied
I would like to run a script on doc/open that will import some data for later use. Under "Javascript/Document Actions" there are listed "Document Will Close" "Document Did Close" and a few others that I might attach a script to, but no "On Document Open".
It must be possible to do this, but I am not able to find it. Any suggestions please?
I am using Acrobat DC Pro
Bill
Any code that is placed under Tools - JavaScript - Document JavaScripts will execute when the file is opened.
If you put your code in a function, though, then you have to make sure to also include a call to that function.
Copy link to clipboard
Copied
Any code that is placed under Tools - JavaScript - Document JavaScripts will execute when the file is opened.
If you put your code in a function, though, then you have to make sure to also include a call to that function.
Copy link to clipboard
Copied
Thanks. I had the functions in the Document Javascripts area but no calls to them ... thanks again BW
Find more inspiration, events, and resources on the new Adobe Community
Explore Now