Gui Save And Recovery

hi
i have a doubt about GUI window building. that is when a open a scene i want get a GUI window . how to rectify the problem
where to save the window and to recover that at our time. how to write the MEL.
thank you

a scriptnode perhaps....

scriptNode -beforeScript "window -title \"hello from script node land\";\r\nshowWindow;" -n blah;

then save the scene. Now re-open....

There's also the scripted panel which allows you to save certain window-relevant data into the scene file, but it's not as easy to use as Rob's suggestion.

Oh a scriptNode, right, I read scriptJob... (better ignore my post)