These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Button Actions

crsimon
Registered: Jan 5 2011
Posts: 8
Answered

Is there a way to set a button action to execute a menu item that is not provided in the drop-down list? I want to add a "submit" button that will send the form off for shared review. Thanks!

My Product Information:
Acrobat Pro Extended 9.4, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Accepted Answer
Yes and No. Documents are not generally considered secure so scripts and actions within a document are restricted to "safe" operations. That's why some menu items are not on the list for a button action. The list however is not set in stone. Its in the registry and you can modify it to allow any menu item you want to run from a button action.
There's an Adobe Tech note on this, and here's a link to a blog that covers the issue:SecurityAnother option is to create a privileged Automation script that's activated from a toolbar button.

But both solutions require that the user's system is modified in some way. It cannot be done from something that's inside a PDF, this would be a security violation. You'll need to send your users either a registry modification or a script to install.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

crsimon
Registered: Jan 5 2011
Posts: 8
Interesting. I'll have to think about that since I'll be deploying this form department wide. Thanks for your guidance.