Move mouse cursor

Hello!
I’m interested if its possible to move mouse cursor to a specified point (like (100,100)) after some event.

P.S. I tried to import java.awt.Robot:

from java.awt import Robot
Robot r = Robot()
r.mouseMove(100,100)

but that gave me an error - invalid syntax

Hi Krozzz,

Just get rid of the Robot on the second line

from java.awt import Robot r = Robot() r.mouseMove(100,100)

Since python is dynamically typed, you don’t need to specify it.

Dan

Thank you very much! That works.