From: Matthew Barnes on 4 Aug 2010 22:33 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!
From: James Britt on 5 Aug 2010 02:05 Eric Christopherson wrote: > On Wed, Aug 4, 2010 at 9:35 PM, Matthew Barnes <bbaarrnneess(a)gmail.com> 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 > <http://raa.ruby-lang.org/project/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. -- James Britt www.jamesbritt.com - Playing with Better Toys www.ruby-doc.org - Ruby Help & Documentation www.rubystuff.com - The Ruby Store for Ruby Stuff www.neurogami.com - Smart application development
From: Quintus on 5 Aug 2010 03:28 -----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 >> <bbaarrnneess(a)gmail.com> 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 >> <http://raa.ruby-lang.org/project/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-----
From: Roger Pack on 5 Aug 2010 11:15 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! watir itself can populate fields, can it not? -r -- Posted via http://www.ruby-forum.com/.
From: The NaztyBoys on 5 Aug 2010 12:12 On Aug 5, 1:28 am, Quintus <sutn...(a)gmx.net> 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 > >> <bbaarrnne...(a)gmail.com> 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 > >> <http://raa.ruby-lang.org/project/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.
|
Next
|
Last
Pages: 1 2 Prev: Return value problem Next: warning: method redefined; discarding old <=> |