Nov-14-2016, 10:42 PM
(Nov-14-2016, 10:35 PM)nilamo Wrote:(Nov-14-2016, 10:25 PM)jakabgipsz Wrote: I try: python nilamo.py
What are the contents of that file?
Only this:
try: from pymouse import PyMouseEvent class event(PyMouseEvent): def move(self, x, y): print("Mouse moved to", x, y) def click(self, x, y, button, press): if press: print("Mouse pressed at", x, y, "with button", button) else: print("Mouse released at", x, y, "with button", button) e = event() #e.capture = True e.start() except ImportError: print("Mouse events are not yet supported on your platform")