SGMLXML.net A place for SGML and XML application developers.

March 11, 2005

AOM for root level menu item

Filed under: AOM — @ 1:15 pm






function addRootMenuItem()
{
 var win = Application.activeWindow;
 var item = win.createMenuItem(“HPTools”);
 
 var editMenu = win.menuBar.find(“.Edit”);
 ret = win.menuBar.insertBefore(item,editMenu);
 
}

Powered by WordPress