This is the advice I received for closing the "fit model" window, which
might help you, too:
The best approach in your case might be 'divide and conquer.' You might
want to script this platform in two steps instead of one. The second step
handles running the model, like this:
fm = Fit Model( Y(...), Effects(...) );
fit = fm << Run Model;
This way you have control over both windows. You can now close either one:
fm << Close Window;
fit << Close Window;
(From: Mark4Flies@aol.com, Date: Thu, 25 Dec 2003)
Steve
On Sat, 19 Feb 2005, James Kern wrote:
I'm running a script that repeatedly calls a model platform. I can close the
report window, but I can't seem to close the platform launch window. As more
windows open, my computer's resources get eaten up and the program begins to
bog down, or crash entirely. At the end of the script, the data table is
closed along with all associated windows. I've tried including this process
periodically in the script, but the script continues to run and the windows
don't get closed until the script completes. Any ideas? - Jim
|