--- In [EMAIL PROTECTED], "swzoh" <[EMAIL PROTECTED]> wrote:
> 
> --- "Gardner, Paul G." <[EMAIL PROTECTED]> wrote:
> > "C:\Program Files\Process Explorer\procexp.exe"
> > wait.for(activewindow("=procexp"))
> > wait.for (1000)
> > window.min("=procexp")
> 
> Just try 'wait.until', however, you cannot use it in the
> nested script:
> 
> wait.until(activewindow("=procexp"))
> window.min("=procexp")

This doesn't work during a reboot.  if I shut down Process Explorer
and restarted it with a PP script, it worked fine.  A reboot involves
a lot more processing, as there are other things being loaded, and my
guess is that there is a time lag between the API call saying the
active window is Process Explorer and something actually being
available to minimize.

 
> BTW, why don't you use simply 'do()'?
> do(?"C:\Program Files\Process Explorer\procexp.exe","","","min")
> 
> Sean

This works in all cases.  Thanks!

Paul





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to