Lets say I have a file named test.ma now what I want it whenever someone opens that file Maya should source or run some script. Is it possible ? How to do it ?
use a scriptNode.
PS: please note a industrious maya user can ALLWAYS disable this, or any other way aswell. So you can not do copyprotection schemes with this.
How to do that ? BTW don't worry not doing anything serious Any example of this would be gr8
createNode script;expressionEditor EE "" "";EEselectFilterCB scriptNode;
One more question is it possible to source and run scripts when Maya starts ? It should happen whenever I start Maya/
userSetup.mel/userSetup.py