MATLAB Answers

Using Java Robot with Multiple Monitors

10 views (last 30 days)
Ruger28 on 14 Nov 2019
Commented: Walter Roberson on 14 Nov 2019
Hello all,
I am using Java Robot to move my mouse, but it is not working across my dual monitor setup. I am using groot to track my current mouse location. When I attempt to move the mouse via mouse.mouseMove(x,y) it will not go across the monitor. Anyone have any insight on how to accompolish this?
import java.awt.Robot;
mouse = Robot;
mouse.mouseMove(0, 0);

  1 Comment

Walter Roberson
Walter Roberson on 14 Nov 2019
sideways-relevant information . The discussion mentions complications in getting it right.

Sign in to comment.

Answers (0)