Highlighted

Menu Short Cut for New Action

New Here ,
Jul 28, 2020

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/  

TOPICS
Acrobat SDK and JavaScript, Comment review and collaborate PDF, Create PDFs, Edit and convert PDFs, General troubleshooting, How to, Install update and subscribe to Acrobat, PDF forms, Security digital signatures and esignatures, Standards and accessibility

Views

51

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Menu Short Cut for New Action

New Here ,
Jul 28, 2020

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/  

TOPICS
Acrobat SDK and JavaScript, Comment review and collaborate PDF, Create PDFs, Edit and convert PDFs, General troubleshooting, How to, Install update and subscribe to Acrobat, PDF forms, Security digital signatures and esignatures, Standards and accessibility

Views

52

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 28, 2020 0
Adobe Community Professional ,
Jul 31, 2020

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 31, 2020 0
Most Valuable Participant ,
Aug 01, 2020

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 01, 2020 0
Adobe Community Professional ,
Aug 01, 2020

Copy link to clipboard

Copied

What does you use in the action?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 01, 2020 0