Below are the files I altered to make the scripts run:
userSetup.mel (all on one line):
userHotkeys.mel:menuItem -p "mainFileMenu" -l "EXC IncSave" -ia "" -c "python(\"import maya_incsave\"); python(\"maya_incsave.IncSave_Execute()\");";
userNamedCommands.mel://Maya Preference 8.50 (Release 1)
//
//
hotkey -keyShortcut "0" -releaseName ("HfAttrSelect_Menu_revert");
hotkey -keyShortcut "s" -ctl -name ("EXC_SaveIncNameCommand");
UserRunTimeCommands.mel://Maya Preference 8.50 (Release 1)
//
//
nameCommand
TAB-annotation "EXC_SaveIncNameCommand"
TAB-command ("EXC_SaveInc")
TABEXC_SaveIncNameCommand;
and finally, attached is the python script, maya_incsave.py: It is called .mel, because I cannot upload a .py file! Please rename it to .py.//Maya Preference 8.50 (Release 1)
//
//
runTimeCommand
TAB-annotation "EXC Save Increment"
TAB-category "File"
TAB-command ("python(\"import maya_incsave\");\r\npython(\"maya_incsave.IncSave_ Execute()\");")
TABEXC_SaveInc;
Can anyone tell me why this is running twice when Maya 2008 first starts, and then running once every time after?
Thanks.