From: Pit Capitain Date: 2007-03-03T20:23:25+09:00 Subject: Re: New to Ruby : Can anyone help gga schrieb: > On 2 mar, 21:36, Studentfj wrote: >> 1) double click on app.exe >> 2) move mouse to File >> open >> datafile.dat >> 3) move mouse to the START button ( which is active) >> in the application windows and double click the button >> >> Basically I want to automate Step 1 ,2 and 3 above. > > What you are asking really has little to do with ruby, but more about > finding hooks in the windows API to do what you want (as it is a > somewhat obscure thing to do, you'll probably find few people that > know how to). You could also look at AutoIt (http://www.autoitscript.com/autoit3). I and other people on this mailing list have used it together with Ruby to automate Windows. You should be able to find some examples in the archives. Regards, Pit