Matlab script saving mouse click location

2 views (last 30 days)
fima v
fima v on 6 Jan 2021
Commented: Jan on 7 Jan 2021
Hello,I have started using this type of scripting to control mouse clicking automatickly.
I want to mouse click on some location i choose randomly and the matlab needs to store(i move it somewhere else) the location wait couple of seconds and move the mouse 100 to the left of that stored location.
Is it possible to store a clicked mouse location while probram is running?
import java.awt.Robot;
import java.awt.event.*;
Jan on 7 Jan 2021
Do you want to do this inside a Matlab window?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by