New Forum | Previous | Next | (P-PDF) Beginners
Topic: Loading JS at Doc-Open time
Conf: (P-PDF) Beginners, Msg: 92622
Date: 7/22/2003 08:01 PM
I try to make a JS run on the doc level, but don't manage. As I work in Acrobat 5.05 it's easy to make any JS run at:
Doc Will Close,
Doc Will Save,
Doc Did Save,
Doc Will Print,
Doc Did Print
, but not Doc Open since there is no such thing in the "Set Document Action". I am not allowed to do anything with the XML in the "Edit All JS", so I am stuck.
I could make a hidden field or global variable which count the number of times I visited page 1 of my form, and use a "Open Page Action" if counter==1. But this seems like a much too complicated way of doing it.
Do somebody know a better way?