[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 350
  • Last Modified:

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
0
DaltonCS
Asked:
DaltonCS
1 Solution
 
Amitkumar PSr. ConsultantCommented:
0
 
DaltonCSAuthor Commented:
Thanks for your reply - solved the problem.

Sorry for the delay in replying to you - I have been working away...
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now