From: Logan Barnett Date: 2008-08-02T15:36:15+09:00 Subject: Re: Automated filling-in of external Windows application fields ...? On Aug 1, 2008, at 1:45 PM, James Britt wrote: > Axel Etzold wrote: >> Dear all, >> I have around 50 files which I need to open in an external >> (Windows) program, one after the other. >> As each of them is about 100 MB larger, I'd like to automate the >> process. >> The external application contains some data which are needed for >> the processing which I cannot >> reproduce in another easy way. > > > Look at AutoItX, and google around for using the COM interface with > Win32OLE for scripting via Ruby. > > > > -- > James Britt > > www.happycamperstudios.com - Wicked Cool Coding > www.jamesbritt.com - Playing with Better Toys > www.ruby-doc.org - Ruby Help & Documentation > www.rubystuff.com - The Ruby Store for Ruby Stuff You might also consider using JRuby with Java's Robot class. I used it to automate GUI integration/story testing against Monkeybars, but it wasn't well suited for a test environment per se. However, it'll do just about everything that AutoIt can do. So it really comes down to which has a better API for your needs. I haven't used AutoIt with Ruby before, but Robot is a really easy class to use. JRuby: http://jruby.codehaus.org/ Robot class (built into Java): http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Robot.html