Skip to main content
TᴀW
Legend
October 27, 2023
Question

How to add a menu item in the new Acrobat 23

  • October 27, 2023
  • 2 replies
  • 1744 views

I used to be able to add a menu item to Acrobat like this:

app.addMenuItem({ cName: "Make Coffee", cParent: "Edit", cExec: "makeCoffee()" });

 

This would add a "Make Coffee" command to the Edit menu in Acrobat.

It doesn't work with the new Acrobat UI in version 23 (even though there is some kind of an Edit menu).

Likewise, trying to add something to the "Menu" menu (which is more like the old menu items) also doesn't work.

 

So, how does one add custom menu items and or tools to the new Acrobat (without having to ask users to revert to the old UI)?

 

Thanks!

Ariel

2 replies

Participant
March 18, 2024

I was running into a similar issue with an application level script to create a menu item. The script was in C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\Javascripts. Apparently now it's an x64 app with a recent update. I copied my script to C:\Program Files\Adobe\Acrobat DC\Acrobat\Javascripts and now the menu item is back. It looks like the update didn't automatically check for any custom javascripts and left them in the old directory.

Amal.
Legend
October 27, 2023

Hi there

Hope you are doing well and thanks for reaching out.

The workflow you are trying to achieve is might be possible using JavaScript. For more information please check the help pages listed below:
https://acrobatusers.com/tutorials/javascript_console/
https://helpx.adobe.com/acrobat/using/applying-actions-scripts-pdfs.html

Hope it will help

Regards
Amal

TᴀW
TᴀWAuthor
Legend
October 28, 2023

Hi @Amal. 

No, there is nothing that would help me in those links.

I am trying to add a menu item to the Acrobat application itself. I'm not looking to add a document, page, or field action, thanks.

Is it really no longer possible to do so? Seems a major limitation!

Are there plans to reintroduce this basic functionality with the new UI?

Ariel

Visit www.id-extras.com for powerful InDesign scripts that save hours of work — automation, batch tools, and workflow boosters for serious designers.
Amal.
Legend
October 30, 2023

Hi there

 

You may share your feedback with the engineering team using the link https://www.adobe.com/products/wishform.html

 

Regards

Amal