how to control the mouse pointer with python?

O

oglycans

Hi.
Anybody know a way to control the mouse pointer
(move it around and click on things) using python?
Thanks.
 
L

Leif K-Brooks

Anybody know a way to control the mouse pointer
(move it around and click on things) using python?

It depends on your operating system. For Windows, you'll want to use a
Python module to access the Win32 API. The relevant API function is
documented at <URL:http://tinyurl.com/jrxm>.
 
J

John Lenton

Hi.
Anybody know a way to control the mouse pointer
(move it around and click on things) using python?

in X11, you could use Xlib to do so. In debian unstable, that's
"apt-get install python-xlib{,-doc}", and start reading.

--
John Lenton ([email protected]) -- Random fortune:
Obviously I was either onto something, or on something.
-- Larry Wall on the creation of Perl

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB5w79gPqu395ykGsRAkQ7AJ9HKiTw9IcrttTmz7VwEMyk1VOOrwCgo0MQ
KSbjWGqqgN7ck1axYhUEHDk=
=LUup
-----END PGP SIGNATURE-----
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top