From: Ben Tilly Date: 2001-01-31T09:25:23+09:00 Subject: [ruby-talk:10148] Re: Capturing Screen, Moving mouse makotosu@my-deja.com wrote: > >Hello, > >Is there a way to use Ruby to control a user's desktop? I want to be >able to capture the user's desktop as an image (then convert it to a >jpeg/gif/png) and also have Ruby automatically control the user's >mouse pointer and click the mouse buttons as well (like producing a >demo). You might want to look at VNC: http://www.uk.research.att.com/vnc/ There is a primitive scriptable interface, see http://people.redhat.com/twaugh/rfbplaymacro/ and there may be something better available if you ask around. (I think there was a scriptable ActiveX version but I cannot find it in a quick search.) Also the protocol is documented and there are several freely available implementations you can look at in Java and C. >This functionality was recently made available through Java's Robot >class, but I wanted to use Ruby instead. > >I'm sorry if this question has already been asked-- please point me to >the right place. Good luck. Cheers, Ben _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com