Mouse

Hi,does anybody know how to control the mouse with ruby. And how to perform
a mouseclick on a certain position? I tried it, but I don’t get it.

Thanks a lot

“stony” basti.steiner@web.de writes:

Hi,does anybody know how to control the mouse with ruby. And how to perform
a mouseclick on a certain position? I tried it, but I don’t get it.

That depends on what GUI you’re using. In X (or the GUI resulting
from the use of X), you can send XEvent. See ruby-xlib package.

YS.

I’m currently using Win2000. Do you know how to move the mouse in Win2000?

“Yohanes Santoso” ysantoso@jenny-gnome.dyndns.org wrote in message
news:87y986ux1q.fsf@jenny-gnome.dyndns.org

“stony” basti.steiner@web.de writes:

Hi,does anybody know how to control the mouse with ruby. And how to
perform

···

a mouseclick on a certain position? I tried it, but I don’t get it.

That depends on what GUI you’re using. In X (or the GUI resulting
from the use of X), you can send XEvent. See ruby-xlib package.

YS.