From: The NaztyBoys Date: 2010-08-06T01:15:06+09:00 Subject: Re: Send Text w/ Ruby On Aug 5, 1:28 am, Quintus wrote: > -----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. > > > Seehttp://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 alsohttp://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----- Thanks Marvin! I'll have to check out your xdo tool as I am on a linux box.