Mouse manipulation

fraca7 fraca7 at free.fr
Mon Jan 30 09:50:39 CET 2006


arkestra a écrit :
> I am writing a script that interacts with the computer screen.
> 
> Is there a module (either built in or add on) that would allow the
> script to manipulate the mouse pointer ? -- eg right click, move two
> pixels to the right, left click etc?


Under Windows, see the SendInput Win32 function (use win32all). Under 
Linux, you can write a C binding for the XTest extension.



More information about the Python-list mailing list