> Wait.For(2000)
>
> win.keys("{to " ++ WindowHandle ++ "}{Ctrl}s") *This does not work*
>
This worked when I used a windowhandle to an existing notepad window
and abc instead of {ctrls}. Are you sure that it isn't the ctrls that
are the problem?
In any event, although the above syntax is correct, you could also use
win.show(windowhandle)
win.keys("keys")
because that is all the {to cap} does -- it shows window matching cap
so that it will read keys.
(As I've noted in several posts, you cannot actually _send_ keys to
windows, you can only put them in the keyboard input buffer for the
window with the keyboard focus to pick up).
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/