Thank you Jorgen. Your answer helped me a lot.
--
http://mail.python.org/mailman/listinfo/python-list
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
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:
win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN, x, y, 0)
win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP, x, y, 0)
I installed Python and pywin32 in wine and they both work,