Is it a pop-up QDialog? Is it parented to the QApplication when created?
If yes and yes you should be able to get the children of the QApplication, loop over them until you find matching object name or title and then close it or do whatever you want to do when existing dialog is found. Hehe, that’s *exactly* what I tried to do (recursive search), but I couldn’t see the object name being returned. It was a QWidget, parented to QApplication.activeWindow(). One simple way to do this is to keep a reference to your UI instance Thanks Nathan, I’ll try that. // Fredrik
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python