[q]Mouse event

Mohammed Lazreg mxl at fluent.com
Thu Mar 14 17:26:06 EST 2002


Just bind your events to create an entry in a file containing the event
information....

You might want to take a look at :
http://www.pythonware.com/library/tkinter/introduction/events-and-bindings.htm

Actually there is a nice idea behind this: you can bind all the events of the
application to register their callback in a file. Next time you run your
application you can source this file to watch your application doing exactly
what you were doing in the previous run..... This might lead to automatic gui
regression testing between two different releases of the same
application......

Mohamed

John wrote:

> Hi,
>
> Is there any way to record Mouse events (click, double click, and etc.) on
> the applications running, using Python?
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
> --
> This message has been 'sanitized'.  This means that potentially
> dangerous content has been rewritten or removed.  The following
> log describes which actions were taken.
>
> [ score: 10 ]
> 00000   Split long word(s) in header.
>
> Anomy 0.0.0 : sanitizer.pl
> $Id: sanitizer.pl,v 1.35 2001/02/01 00:10:46 bre Exp $





More information about the Python-list mailing list