How to Add a Submenu Command to Acrobat Pro DC Quick Tools Toolbar
Question details
The user wants to add a specific submenu command, such as Insert Pages from File, directly to the Quick Tools toolbar for faster access.

- Product
- Adobe Acrobat Pro DC
- Device & OS
- not provided
- Scenario
- Customizing the PDF workspace to improve workflow efficiency by placing frequently used submenu commands on the main toolbar.
- Observed behavior
- Adobe Acrobat Pro DC does not natively support dragging or pinning deep submenu commands directly to the Quick Tools toolbar.
Ensure you have Adobe Acrobat Pro DC installed, as creating custom JavaScript commands is not supported in the free Acrobat Reader version.
Use Acrobat JavaScript to Create a Custom Action
Since Acrobat doesn't allow direct dragging of submenus, you can bypass this by creating a custom JavaScript action and pinning it to your Quick Tools.
This is a reliable workaround that utilizes Acrobat's Action Wizard to trigger menu items via a script. Note that the availability of specific menu commands can depend on your exact Acrobat version.
Launch Adobe Acrobat Pro DC and navigate to Tools > Action Wizard.
Click on 'New Custom Command' in the Action Wizard toolbar.
Click 'Command Options', select to execute JavaScript, and enter the following code into the script window: app.execMenuItem("InsertPages");
Save your new command, assign an icon if desired. Then, right-click your top toolbar, select 'Customize Quick Tools', locate your newly created custom action under Action Wizard, and add it to the Quick Tools toolbar.

Easily Manage and Edit PDFs with WPS PDF
Instead of relying on complex JavaScript workarounds to access basic features, WPS PDF provides a highly intuitive interface where tools like 'Insert Pages' are readily available on the main ribbon. You can seamlessly add, delete, or reorder pages in your PDF documents.
- 1. Open your PDF: Launch WPS Office and open the PDF document you wish to edit.
- 2. Navigate to the Page Tab: Click on the 'Page' tab located on the top ribbon to view all page management tools.
- 3. Insert Pages: Click the 'Insert' button directly from the toolbar to instantly add a blank page or insert pages from another file.

Frequently Asked Questions
Can I drag and drop submenu items in Acrobat Pro DC?
No, Acrobat Pro DC generally limits you to dragging top-level tools to the Quick Tools toolbar. Deep submenu commands require setting up custom actions or JavaScript.
Why doesn't the app.execMenuItem command work on Acrobat Reader?
Executing elevated menu items via JavaScript is typically restricted in the free Acrobat Reader for security reasons and requires the Pro or Standard version.
How do I remove a custom tool from the Quick Tools toolbar?
Right-click the Quick Tools toolbar, select 'Customize Quick Tools', locate the custom item in the list of currently displayed tools on the right, and click the trash can or remove icon.




