Using Java Robot with Multiple Monitors
9 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Walter Roberson
2019 年 11 月 14 日
sideways-relevant information https://github.com/TestFX/TestFX/issues/568 . The discussion mentions complications in getting it right.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Robotics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!