Anyway, I have something like this in MEL:
scriptJob -p ss_helpWin -uiDeleted ss_mainUI "deleteUI ss_helpWin";
Nothing fancy or schmancy. If the help window is open when I close the main UI, then it will also close the help window.
I'm trying to do the same thing in Python. I gave it my best, but I know what I've done is wrong. I've read the help docs, but I still don't understand what I'm doing wrong. Could someone tell me what I've done wrong and/or point me in the right direction?
mc.scriptJob(parent=ss_helpWin, uiDeleted=(ss_mainUI), mc.deleteUI(ss_helpWin))