How to control application on Windows

Z

ZW

Hi Gurus

I have an application running on Windows XP.
How do I or can I accomplish this or is it better to use python for
such activities
1) I like to be able to use ruby script to send mouse clicks at a
certain location point within the application screen.
2) I like to be able to use ruby script to send signals/keys/mouse
clicks to get to the menu
eg File->Exit

Any help is appreciated.
 
R

Rajinder Yadav

ZW said:
Hi Gurus

I have an application running on Windows XP.
How do I or can I accomplish this or is it better to use python for
such activities
1) I like to be able to use ruby script to send mouse clicks at a
certain location point within the application screen.
2) I like to be able to use ruby script to send signals/keys/mouse
clicks to get to the menu
eg File->Exit

Any help is appreciated.

You could try looking on http://rubyforge.org/
for the following gems: Win32API, Win32, and WIN32OLE

If you know your Win32 APIs then doing what you need to do from Ruby should be
possible.

--
Kind Regards,
Rajinder Yadav

http://DevMentor.org
Do Good ~ Share Freely
 
M

Marvin Gülker

ZW said:
Hi Gurus

I have an application running on Windows XP.
How do I or can I accomplish this or is it better to use python for
such activities
1) I like to be able to use ruby script to send mouse clicks at a
certain location point within the application screen.
2) I like to be able to use ruby script to send signals/keys/mouse
clicks to get to the menu
eg File->Exit

Any help is appreciated.

That's funny - a few minutes ago I released a new version of au3;
looking on the new posts on the mailing list afterwards I see your post
that just triggers the exact purpose I've written au3 for. So, if you're
using Ruby 1.9, have a look at my annotation at
http://www.ruby-forum.com/topic/197030#new and on the project itself at
RubyForge: http://rubyforge.org/projects/auto/

Please excuse my self-promotion, but that seemed as an ideal match to
me... ;-)

Marvin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,801
Messages
2,569,658
Members
45,420
Latest member
MillardGil

Latest Threads

Top