I know this is probably simple but I can't seem to get it working and I'm no wizard with MEL by any means. I'm using maya 2009 on Mac OS X.
Basically I have a few MEL scripts I wrote that I want to execute as soon as Maya starts up so that my custom menu loads and a few global variables are created that I use frequently in my MEL scripts. I can do this manually in Maya so I know my MEL scripting is correct. I just can;t get these going on startup.
Years ago I used to just add a few procs to the userSetup.mel that was installed with bonusTools. I tried creating a userSetup.mel file (in my default script path where all my scripts are) and added a few commands to it that would create the variables and the menu but it doesn't work.
Is there some new way to do this or do I need to put the userSetup.mel file in a specific place, or is there a specific way to automatically create global variables and load up my menu?
Thanks