--- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote:
> > An exception is wait ready, which supposedly waited until the 
last 
> > program started by PowerPro was the foreground window and was 
idle 
> > and waiting for input.    I don't know if this worked reliably 
and 
> > deciced to remove its documentation.
> > wait.for(activewindow("=prog.exe"))
> > should be equivalent.
> 
> In my tests, it never seemed to be reliable. Half the time it was 
waiting
> for a launched program, to send keys to...but it would always error 
because
> the window might exist, but it was still loading, and the "can't 
find window
> to send keys to" error seemed to always appear. Having explicit 
control of
> what I'm waiting for seems a much more reliable solution to me. =)
> 
> Since activewindow can handle expressions, won't 
> Wait.for(activewindow(autorun)) 
> Also work? Probably some other keywords I can't think of atm that 
might be
> more dynamic for the last-launched program (probably missed them in 
Alan and
> Bruce's msg.

Use "*Keys {to ^+=appname}...". See the section in the help file
"Sending *Keys to a new window"
where, in fact, the "*wait ready" is mentioned too.

"*wait ready" would be very handy if it worked reliably.
As a matter of fact, however, I found it rather unreliable, e.g.,
for "iexplore.exe" and/or especially for the console windows.

Actually, the console windows are my main headache with PP.

Sean



------------------------ 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