Using Java Robot with Multiple Monitors

조회 수: 5 (최근 30일)
Ruger28
Ruger28 2019년 11월 14일
댓글: Walter Roberson 2019년 11월 14일
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
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 CenterFile Exchange에서 Robotics에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by