... i am very much at a loss
basically im trying to run a scriptJob at startup using the below line
//userSetup.mel contents scriptJob -protected -ct condition scriptName;
seems simple enough ... my problem is that although the userSetup is being read on startup (i know this through other tests) my scriptJob is not being created ...
yet once maya is loaded i can manually configure the scriptJob and all is fine ...
this would be okay except this scriptJob needs to be shared by many users and thus needs to run automatically at startup ...
any ideas ?
thanks , clinton.
In reply to: ... i am very much at a loss
basically im trying to run a scriptJob at startup using the below line
//userSetup.mel contents scriptJob -protected -ct condition scriptName;
seems simple enough ... my problem is that although the userSetup is being read on startup (i know this through other tests) my scriptJob is not being created ...
yet once maya is loaded i can manually configure the scriptJob and all is fine ...
this would be okay except this scriptJob needs to be shared by many users and thus needs to run automatically at startup ...
any ideas ?
thanks , clinton.
you need scriptNode - this node execute with startup scene. Read this term in "Mel Command Reference".
depending on what your scriptJob is, you may need to invoke it for two events.. NewScene and SceneOpened.
-jason
In reply to: ... i am very much at a loss
basically im trying to run a scriptJob at startup using the below line
//userSetup.mel contents scriptJob -protected -ct condition scriptName;
seems simple enough ... my problem is that although the userSetup is being read on startup (i know this through other tests) my scriptJob is not being created ...
yet once maya is loaded i can manually configure the scriptJob and all is fine ...
this would be okay except this scriptJob needs to be shared by many users and thus needs to run automatically at startup ...
any ideas ?
thanks , clinton.
jason schleifer animator weta digital
thanks guys ... i will give those suggestions a try ...
... clinton