hop-frog
06-14-2003, 11:46 PM
Is there a way to control the mouse from bash or phython scripts or another program that can be run from the command line? For instance, can I send the mouse to a set of coordinates then signal it to click
|
Click to See Complete Forum and Search --> : Controlling the mouse from bash scripts? hop-frog 06-14-2003, 11:46 PM Is there a way to control the mouse from bash or phython scripts or another program that can be run from the command line? For instance, can I send the mouse to a set of coordinates then signal it to click EscapeCharacter 06-15-2003, 12:37 AM i know you cant do that with bash but python has several gui toolkits that would allow this. if you wanted to do it in c you could interface with the xlib library directly and use XSendEvent calls to do what you want. hop-frog 06-15-2003, 02:27 AM Originally posted by EscapeCharacter i know you cant do that with bash but python has several gui toolkits that would allow this. if you wanted to do it in c you could interface with the xlib library directly and use XSendEvent calls to do what you want. Thanks. The word "XSendEvent" has already helped narrow down my search to some tutorials. Got any other keywords like that that I should look into? EscapeCharacter 06-15-2003, 10:49 AM XWarpPointer hop-frog 06-15-2003, 02:24 PM That's it. thanks! http://razorback.yi.org/xwarppointer/ sploo22 06-15-2003, 08:56 PM Planning on slipping a script into someone's .xsession and freaking them out? ;) hop-frog 06-16-2003, 12:50 AM Originally posted by sploo22 Planning on slipping a script into someone's .xsession and freaking them out? ;) No, I don't know anyone who runs Linux. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |