Glich wrote: > hi, how can I, control mouse position and clicking from python? > > I want to interact with a flash application inside firefox. thanks. > > ps: I am not using windows.
I've use the external program xte with some success if you don't send it too many events too quickly. I start it using subprocess and feed it commands. On Ubuntu sudo apt-get install xautomation It uses the XTest extension for X11 to send mouse events to the system. One could probably easily wrap the xlib API for it using ctypes so you wouldn't have to bother with an external program. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco -- http://mail.python.org/mailman/listinfo/python-list