Copy link to clipboard
Copied
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/
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
No. JavaScript can't call an Action from the Action Wizard.
Copy link to clipboard
Copied
What does you use in the action?