Skip to main content
Participating Frequently
July 28, 2020
Question

Menu Short Cut for New Action

  • July 28, 2020
  • 3 replies
  • 688 views

I have create new action using Action Wizard in Adobe Acrobat DC. Is there any way to call this new action using javascript? My requirement is to create custom menu, which can call this new action.

 

I am following this link for custom menu https://acrobatusers.com/tutorials/add_custom_menu_items/  

This topic has been closed for replies.

3 replies

Bernd Alheit
Community Expert
Community Expert
August 1, 2020

What does you use in the action?

try67
Community Expert
Community Expert
August 1, 2020

No. JavaScript can't call an Action from the Action Wizard.

ls_rbls
Community Expert
Community Expert
August 1, 2020

That is exactly what Thom Parker's tutorial just explained. Did you even try the example in that link?

 

The JavaScript need to run on a priviledged context regardless if you use the Action Wizard tool or an  Button with a Mouse-Up action for example.

 

You may need to  also  refer to the "Adobe Acrobat SDK JavaScript Contexts in Acrobat" in the
Developing Acrobat Applications Using JavaScript guide.

 

Look in "Executing privileged methods through the menu" on page  47.