DÅ?a NedeÄ¾a 02 AprÃl 2006 10:39 Harry napÃsal:
How can I gain access to the keyboard so that I can feed output from
my ruby program into an application that only accepts input via the
I want the application to think the input is coming from the keyboard
when it is really coming from a ruby program output.
Thanks for any help.
Is it a console or window application?
In the former case, a simple pipe should suffice, in the latter, you’re
probably looking at using OLE to run the application from within Ruby
fake keypresses using the Windows Scripting Host facilities.