Using mouse
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Tue Jan 1 12:50:33 EST 2008
En Tue, 01 Jan 2008 12:54:54 -0200, Grant Edwards <grante at visi.com>
escribi�:
> On 2007-12-31, Lucas Prado Melo <lukepadawan at gmail.com> wrote:
>
>> I would like to control mouse events (i.e. I would like to
>> "click" and move mouse around by code). How do I do this in
>> python?
>
> http://python-xlib.sourceforge.net/doc/html/python-xlib_14.html
On Windows, use the mouse_event function
http://msdn2.microsoft.com/en-us/library/ms646260.aspx
Available on pywin32 https://sourceforge.net/projects/pywin32/ or using
ctypes directly.
--
Gabriel Genellina
More information about the Python-list
mailing list