PDA

View Full Version : run a script when maya closes?


HapG
08-05-2008, 05:49 PM
I'm looking for something like userSetup.mel, but runs when maya closes.

someone here has to know what does it.

swardson
08-05-2008, 06:21 PM
check out scriptJob

it is a script that runs when a certain event happens. In this case the event you want to watch is.

quitApplication

look at the options for scriptJob in the MEL Reference and you should be good to go.

Brad

HapG
08-05-2008, 06:35 PM
i looked at scriptJob, just missed the "quitApplication" event

thanks

CGTalk Moderation
08-05-2008, 06:35 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.