PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________
Guess what, there is an event which corresponds to the "document loading" (or "document opening") event. Have a closer look at the places where you can put JavaScripts, and you will stumble over the Document JavaScripts.
That's what you have been looking for.
There is another one, which might be useful, and that's the PageOpen event for the page on which the document opens.
Hope, this can help.
Max Wyss PRODOK Engineering Low Paper workflows, Smart documents, PDF forms CH-8906 Bonstetten, Switzerland
Fax: +41 1 700 20 37 or +1 815 425 6566 e-mail: mailto:[EMAIL PROTECTED] http://www.prodok.com
[ Building Bridges for Information ]
______________________
My colleague has a PDF that needs to do some initialization when the document is loaded, and also some other work when each page is loaded. The Adobe JavaScript reference talks about both events, being Doc/Open and Page/Open. Unfortunately, in Acrobat 5.05, the "Document Action" dialog shows several document actions you could attach to, but not the "Doc/Open" event. Is there any way to write code which will only execute when the document is loaded?
To change your subscription: http://www.pdfzone.com/discussions/lists-pdfdev.html
