The code snippet below will place a new menu title "Automatic " after the "Help" menu in the Bridge main menu bar. How can modify the snippet to add a submenu category with options: For example: Automatic -- Category ---- Submenu 1 ---- Submenu 2 ---- Submenu 3 #target bridge if( BridgeTalk.appName == "bridge" ) { newMenu = new MenuElement( "menu", "Automatic", "after Help", "myMenu" ); RPP = new MenuElement( "command", "Menu Title", "at the end of myMenu","myAlert" ); }; RPP.onSelect = function () { runMyScript(); } function runMyScript(){ //add your code here }
... View more