Using Java Robot with Multiple Monitors

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);

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Downloads 的更多信息

产品

版本

R2018b

提问:

2019-11-14

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by