MEL How-To #29
How can I get Maya to execute a command as soon as a window is closed?
window -title "Close Me" myWindow; showWindow myWindow; // Use a scriptJob to pop up a farewell message when the window is closed scriptJob -uiDeleted myWindow "confirmDialog -message \"Buh-bye!\"";
The scriptJob is automatically deleted with its associated UI.
|Copyright ©2005 by Bryan Ewert, firstname.lastname@example.org|
Maya is a Registered Trademark of Alias