Aslo if you make the window a scripted panel it will have a function for you to record the settings. Among other benefits such as hotkey propagation, ability to dock it in the gui, side panel etc.
QUOTE(ewerybody @ 01/21/09, 01:54 PM) [snapback]299329[/snapback] but ... err what does that mean?!? ;]
The job of a editor is to check that the language is correct understandable and sometimes verifiable I'm not exactly taht picky but thing is i want a layer between my ramblings... I mean its hard to ge things right on the spot.
I ran into a snag using a scriptJob that triggers on deleteUI... it appears that the script called by a scriptJob fires AFTER the UI is deleted, which doesn't solve my problem...
the script I want to run when the window closes queries the value of certain elements and stored them to an optionVar...
the problem is, if I use a scriptJob that triggers on deleteUI, the UI is deleted first, then the script is run and can't find the values I wish to store...