Mouse manipulation

Peter Hansen peter at engcorp.com
Mon Jan 30 06:58:58 EST 2006


Rinzwind wrote:
> arkestra schreef:
>>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?
>>
>>thank you.
> 
> pygame is able to do that.

Do you happen to know which of Pygame's packages allow that?  I've 
searched the docs and Googled for it but it doesn't seem obvious to me 
which supports that functionality.  (Is it done by posting native events 
to the event queue, or is there more direct support?  An example or a 
link to relevant background info would be appreciated.)

-Peter




More information about the Python-list mailing list