Notifications
Clear all

[Closed] How to Remove UI Category ?

How do you remove a category once you’ve added it using macroscripts?

I assume its in a UI file but I can’t find which file.

Cheers

El-d

4 Replies

Hi El-d,

I think when you remove all the macroscripts that are in the category then the category is also removed.

J.

Sounds good but how do you do that?

I can see the category and the macroscript under it but there’s no option to delete the macroscript. I can edit it but can’t see a method to delete within max.

Halfway through typing and had a thought… just done it by editing the UI file and removing the menu item. I was looking at the UI in my max directory and couldn’t find the offending category. So checked the UI in the user directory and bingo!. there it was, deleted and gone. Helps if you look in the correct file.

Is there a way to remove from within max?

El-d

PS Had a horrible thought that restarting was going to fix it … now that would have been doubley embarrassing after you answered my other post

In Max 9 and higher, all user-defined Macros end up in the folder ui\usermacros – call

GetDir #usermacros

in the Listener to find the path.
Then open that folder or call

shellLaunch (GetDir #usermacros) “”

to open the Explorer at that path, locate all scripts prefixed with your category and delete them or move them into some archive folder.

Restart Max and these scripts won’t be loaded (unless you have their sources in a startup folder).

Also see the topic “MacroScripts for New Users” for some historical details.

Cheers Bobo… and the irony of your response is that I was trying to remove a menu added by one of your scripts

http://forums.cgsociety.org/showthread.php?f=98&t=609379&highlight=install+macroscript+menu

El-d

Ps… thanks for the first script on how to add menus .