Acrobat Java Script - Run On Open

A client has an Acrobat form document that has some Java Scripts.  These need to be run on opening the document as they manipulate some of the field data and set the form up for use.

At present I have a hidden button that executes the code on the Mouse Over event.  This works if the user happens to have their mouse over the document as it opens, but if not (e.g. if their mouse is to the side etc), the code does not run (until they move their mouse over the document)...  This means that the form does not get correctly set up in these situations.

I am aware of the Document Will Close, Document Will Save etc actions, but I am suprised to not see a 'Document Opened' type event.  Is there any way one can force Java Scripts to run as the document opens/loads?

The developer has Acrobat Pro V9.  However, the end users will have Acrobat Reader only.

Thanks in advance.

Ollie
DaltonCSAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Amitkumar PSr. ConsultantCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DaltonCSAuthor Commented:
Thanks for your reply - solved the problem.

Sorry for the delay in replying to you - I have been working away...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Acrobat

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.