From: Quintus Date: 2010-08-05T16:28:38+09:00 Subject: Re: Send Text w/ Ruby -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 05.08.2010 08:05, schrieb James Britt: > Eric Christopherson wrote: >> On Wed, Aug 4, 2010 at 9:35 PM, Matthew Barnes >> wrote: >>> I'm curious if it is possible to send text to a window or web >>> application. I am using the firewatir library, but I don't think you >>> can do it with that, so just wondering if it is possible with Ruby >>> itself. Thanks! >> >> On Windows, you can use Win32::GuiTest >> . > > AutoItX is also very handy for scripting Windows apps and the Win32 API. > > See http://groups.google.com.kh/group/ruby-talk-google/msg/ca78a0fcf1015a05 > > for an earlier post I made on this. > > If I'm allowed to promote myself... I wrote a library wrapped around AutoItX3, available as the au3 gem[1]. For Linux systems I wrote xdo (based on the xdotool commandline tool), but that's undergoing a heavy rework at the moment. Vale, Marvin [1] See also http://auto.rubyforge.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxaaBgACgkQDYShvwAbcNmf/wCgnRCEOUPriSy3hqXSrzx5Hxci rywAoJEw1spMEuj1mtqR1qvrMzvc1706 =xzxV -----END PGP SIGNATURE-----