These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

javascript to execute menu item using app.execMenuItem("")

sol.manager
Registered: Oct 1 2009
Posts: 17
Answered

I need to write a small line of javascript that when called, makes the Properties Toolbar visible. I have found the code for executing a menu item, but cannot find the right "name" for the Properties Toolbar.

I am trying to do this with javascript rather than using the built in choice to execute a menu item.

So what is the right name to make the Properties Toolbar visible?

app.execMenuItem("Name")

My Product Information:
Acrobat Pro 9.2, Macintosh
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi sol.manager,

This tutorial from the Learning Center should help you out. It explains how to find the Menu item names and discusses uses/restrictions of this method.

http://www.acrobatusers.com/tutorials/2008/06/executing_menu_items_from_javascript

Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
sol.manager
Registered: Oct 1 2009
Posts: 17
Thank you for the assistance. This is GOLDEN. I was looking through the Acrobat JS Reference and as useful as that document is, it seems to be missing details such as those you provided here. Thank you, thank you, thank you.