* Alex Peters <[EMAIL PROTECTED]> writes:

> Your above code can also be written as:

> @MyProgLaunch
> If(AnyWindow("=MyProg")) Do
>     Win.Show("MyProgCaption AnyText*")
> Else
>     %ProgramFiles%\MyProg\MyProg.exe
>     Wait.For(AnyWindow("MyProgCaption! Start"))
>     Win.Keys("1234567890{Enter}")
> EndIf
> Quit

Same effect. If I open another window while the application start the
script sends the keys to another application. I don't know why?

> You may find that this works better for you because:

Thanks for your hints.

-- 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/
 

Reply via email to