Is there a remove command? I can not find anything in the api about remove, as a matter of fact all im using the the InDesign CS3 Scripting Guide:Javascipt, and that does not have a reference in it for menus.
Actually, it’s not a menu, but submenu you can’t get rid of.
Solution #1 – Delete preferences: launch InDesign and press Cmd + Opt + Shift + Control (on Mac) or Control + Alt + Shift (on PC) and when you see — “Delete InDesign preference files?” — choose Yes.
Let’s assume that I added "Script" submenu to the Main menu and want to get rid of it.
All I have to do is just type the following line and press Enter/Return.