From: Studentfj Date: 2007-03-03T09:36:00+09:00 Subject: New to Ruby : Can anyone help Hi I am new to Ruby. What I want to do is to start up an appliacation (GUI of course) and use Ruby to move the mouse to the application Button called Start and click on it when it is active (ie not greyed out). I can start the application by putting a shortcut in the XP startup folder, and pass the file as input parameter but how to use Ruby to move the mouse to different buttons (three buttons in this app Start ,Continue , Cancel ) in the application windows and click on it, and also how to test the button is active before I can click on it. My normal steps are :- 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. Can anyone help Many thanks Fred Johnsons ____________________________________________________________________________________ Get your own web address. Have a HUGE year through Yahoo! Small Business. http://smallbusiness.yahoo.com/domains/?p=BESTDEAL