I would like to change mouse position by b4a code. In B4J there is an example (robot API) which works very fine. But when I try to run this example by B4A I receive an error at line "com.sun.glass.ui.Application":
this class seems to be unknown
Dim jo As JavaObject
jo.InitializeStatic("com.sun.glass.ui.Application")
robot = jo.RunMethodJO("GetApplication",Null).RunMethodJO("createRobot",Null)
MouseMove(2, 2)
Thanks
this class seems to be unknown
Dim jo As JavaObject
jo.InitializeStatic("com.sun.glass.ui.Application")
robot = jo.RunMethodJO("GetApplication",Null).RunMethodJO("createRobot",Null)
MouseMove(2, 2)
Thanks