PDA

View Full Version : help: maxscript, close dialogs???


CGTrader
11-02-2004, 09:23 AM
Hi,

max7 has sticky dialogs and I can say that I hate it. For me it is unwanted feature, especially when working on dual screen.

Via Maxcript I am trying to make this workflow: when pressing a shortcut for a dialog, it appears. If you press the shortcut again it activates the dialog (brings focus on it) and brings it on top of other dialogs, if any are overlapping it (like it was in max6). Also there will be a key that closes all open dialogs, NOT toggles them. Also every dialog can be closed with Esc.

I think this workflow is much more practical, because you don't have to think what dialogs are opened at the moment, just press the right shortcut and corresponding dialog pops up on top of others.

In maxscript help I found out that almost every dialog (render scene, ME, efects, trackview, etc.) have .open and .close commands. But for example, I can't find .close command for Material/Map Browser. Maybe there is a callback that could identify currently active dialog and destroy it?
Is it possible to make that ANY dialog (not a subset) could be closed by pressing a shortcut or Esc?

Thanks!

CGTalk Moderation
01-19-2006, 12:00 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.