Hi.
--- In [EMAIL PROTECTED], Thomas Woelk <[EMAIL PROTECTED]> wrote:
> > Wait.For(AnyWindow("MyProgCaption! Start"))
> > Win.Keys("1234567890{Enter}")
> Same effect. If I open another window while the application start
the
> script sends the keys to another application. I don't know why?
To avoid this you can use:
win.keys("{to MyProgCaption! Start}1234567890{Enter}")
or not open another window while app starts...;-)
also I'd use:
Wait.for(visiblewindow("MyProgCaption! Start"))
Don't know if this makes any difference but you'll never know...
Mockey
------------------------ 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
--------------------------------------------------------------------~->
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/