On 2 mar, 21:36, Studentfj <studen...@yahoo.com> 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 should ask your question in a windows programming newsgroup and
try searching microsoft's knowledge base and forums for the answer.
If you then want to code the solution in ruby, ruby offers things like
the win32ole and similar modules to give you access to the proper API
calls in windows, but you need to know what those are first.