How to invoke ScriptsManger during Maya starts up:
Make sure you are using the latest copy and then put the following lines into your userSetup.mel
///////////////////////////////////////////////////////////////////
// Invoke ScriptsManager during Maya starts up ...
source ScriptsManager;
if (`menu -exists Crow_SMScriptsMenu`) deleteUI Crow_SMScriptsMenu;
global string $gMainWindow;
menu -p $gMainWindow -to true -l "[ Scripts ]" Crow_SMScriptsMenu;
SMCheckDir 0 "/PATH/TO/YOUR/SCRIPTS/";
///////////////////////////////////////////////////////////////////
NOTICE:
1) Replace /PATH/TO/YOUR/SCRIPTS/ with your own path.
2) The path must leads to a folder instead of a file, and must be ended with a "/".
*******************************************************************
ScriptsManager is a handy script, which can work on both Windows NT and IRIX. It builds an UI window which help user to do these jobs:
1. Scan a "script directory" to find any scripts that exist under that directory or its subdirectories.
2. Build a menu, which is under the main Maya menu and is in the same structure as the "script directory" and its subdirectories are on the hard disk. The "script directory" can be set by user or just be the default, which is current user script directory.
3. Selecting a menu item will source the responding script and then execute it.
4. If there is a folder named "SM_NeedArguments" under the "script directory" or its subdirectories, then executing any script under that folder or its subdirectories will pop up a window for user to type in the arguments needed.
*********
IMPORTANT: The "special" folder must be named as "SM_NeedArguments", each letter can be in either lower case or upper case, but the spelling is case sensitive.
Put the script in your scripts folder then type and execute "ScriptsManager" in the command line or Script Editor.There will pop up an UI window, select one of the three modes, then press "Go!".
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.