bonosa,
Do you mean after you hit the run button in the gui window how do you get it to auto minimize? or you want the gui window to disappear entirely?
I would try a get(guihandle) and see if there is a 'Visible' component and see if you can set it to 'off'.
BSK