1 Reply Latest reply on Apr 27, 2011 11:40 AM by Marc Autret

    create custom menu and add menu elements to it

    himanshuXRX Level 1

      hi,

       

      i used the sample javacript "ScriptMenuAction.jsx" to create a custom menu.

       

      that script has this command: var mySampleScriptAction = app.scriptMenuActions.add("Display Message");

      which adds submenu called Display message.

       

      my question is how to add a submenu to "Display message" submenu...  i mean when we click on "File" menu, it shows "New" as the 1st element..if we click on "New" it shows another window giving option to create a new document, book or library....how to create such structure for my custom menu using javascript?

       

      thanks