Hi
I am using the following script from the help to create a new menu item:-
if menuMan.registerMenuContext 0x246c6dbe then
(
local mainMenuBar = menuMan.getMainMenuBar()
local helpMenuIndex = mainMenuBar.numItems()
local helpMenuItem = mainMenuBar.getItem(helpMenuIndex)
local helpMenu = helpMenuItem.getSubMenu()
local sepItem = menuMan.createSeparatorItem()
local testItem = menuMan.createActionItem "MyTest" "Menu Test"
helpMenu.addItem sepItem -1
helpMenu.addItem testItem -1
menuMan.updateMenuBar()
)
Now what I want to do is write a script to remove this Menu. In the help it appears that you use unregister, but it then warns you to use extreme caution as you might corrupt your 3ds Max installation. Can anyone help?
Thanks
Gray
Graph · 2010-12-10