Using Java Robot with Multiple Monitors

3 visualizzazioni (ultimi 30 giorni)
Ruger28
Ruger28 il 14 Nov 2019
Commentato: Walter Roberson il 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 Commento
Walter Roberson
Walter Roberson il 14 Nov 2019
sideways-relevant information https://github.com/TestFX/TestFX/issues/568 . The discussion mentions complications in getting it right.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Downloads in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by