On Thu, 29 Nov 2007 01:59:20 -0800 (PST), Atila Olah <[EMAIL PROTECTED]> wrote: > Hello everyone. > I would like to be able to emit a mouse click on my xgl/compiz > desktop, like I used to do in Windows: ... > Is there a way to interact directly with the X server (or with the > kernel?) to simulate a click? And if it can't be done in Python, where > should I go?
This is probably best done in Xlib, the lowest-level X11 API. See the XSendEvent() call, and feed it to Google for more information. I think there is a Python interface to Xlib, although I haven't used it. /Jorgen -- // Jorgen Grahn <grahn@ Ph'nglui mglw'nafh Cthulhu \X/ snipabacken.dyndns.org> R'lyeh wgah'nagl fhtagn! -- http://mail.python.org/mailman/listinfo/python-list