* swzoh <[EMAIL PROTECTED]> writes:
> Sorry, this is not what I talked about. It was:
> "pproconf.exe | GUI Control | Activate window when mouse moves
> over" or a similar one in "TweakUI.exe | Mouse | X-Mouse".
No. I dont use it. The function is disabled.
> On the other hand, have you tried 'without' the command?
> MiscPlugin.Set_ActWnd("MyProgCaption! Start")
Yes. But the same effect. :-(
> "*Keys {to ...}" would activate the window anyway, I think.
I use present:
--8<---------------cut here---------------start------------->8---
@myproglaunch
If (anywindow("=myprog") == 0)
do("%ProgramFiles%\\Myprog\\myprog.exe", "")
Wait.for(activewindow "MyProgCaption! Start")
Win.Keys("{to MyProgCaption Start}1234567890{enter}")
Elseif (anywindow("=myprog") == 1)
Win.Show("MyProgCaption AnyText*")
Endif
Quit
--8<---------------cut here----------------end-------------->8---
... and got:
Cannot find window to change or to send keys to
MyProgCaption! Start
Error occurred near line 6 which contained:
Win.Keys("{to MyCaption! Start}1234567890{enter}")
I have no idea what's wrong. I think, I need code to wait for the window
and check is it displayed and then send the key strokes.
Please, anybody can help my?
--
------------------------ 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/