Dear friends, please
where I am doing mistake?
I get:
I am using:
https://openjfx.io/javadoc/11/javafx.graphics/javafx/scene/robot/Robot.html
Best regards
p4ppc
where I am doing mistake?
B4X:
Dim robot As JavaObject
robot.InitializeNewInstance("javafx.scene.robot.Robot", Null)
Dim MouseButton As JavaObject
MouseButton.InitializeStatic("javafx.scene.input.MouseButton")
robot.RunMethod("mousePress", Array(MouseButton.GetField("PRIMARY"))) 'left button
robot.RunMethod("mouseRelease", Array(MouseButton.GetField("PRIMARY"))) 'left button
I get:
java.lang.RuntimeException: Method: mousePress not matched.
I am using:
https://openjfx.io/javadoc/11/javafx.graphics/javafx/scene/robot/Robot.html
Best regards
p4ppc