Peter,
Would WSH SendKeys work for you
SendInput Function Message #
814854 ?
>I need to find a window (solved courtesy of George Tasker), let it get the focus, ShowWindow() sometimes does an sometimes does not, and finally pass keystrokes to it.
>
>Have tried KEYBOARD... but that really doesn't do much of anything, which is pretty much what I expected.
>
>This is all related to some mainframe screen...
>
--sb--