Page 1 of 1
Active window
Posted: Wed Aug 07, 2013 6:42 am
by lukevancleve
When I'm running lots of eviews jobs on a script, Eviews always makes itself the active window upon starting a new job while I'm doing something else. Is there any to disable this?
Re: Active window
Posted: Wed Aug 07, 2013 6:44 am
by EViews Gareth
That's somewhat surprising.
Do you know what sort of things in your program cause it to steal focus from other applications?
Re: Active window
Posted: Wed Aug 07, 2013 10:10 am
by lukevancleve
I mean if I have a script (perl example):
foreach $program (@long_list_of_programs) {
system( eviews.exe $program)
}
... the each time eviews is executed the the $program becoms the active window in windows. So if I have 1000 jobs on a script that each take 10 seconds it will make my desktop unusable. Is there a way to execute an eviews program in the background? ... or at lease not become the active window?
Thanks,
Luke
Re: Active window
Posted: Wed Aug 07, 2013 10:30 am
by EViews Gareth
Ah, I see.
I don't believe EViews has a method to launch itself (apart from during a COM call) minimized or hidden. We usually tell users to use Windows to launch EViews minimized (start /min if run from a command prompt, for example), if that's what they want to do. I have no idea if that's possible from within a perl script.