필터 지우기
필터 지우기

Matlab script saving mouse click location

조회 수: 2 (최근 30일)
fima v
fima v 2021년 1월 6일
댓글: Jan 2021년 1월 7일
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?
Thanks.
import java.awt.Robot;
import java.awt.event.*;
robot=Robot();
robot.mouseMove(500,500);
ScreenDimensions=get(0,'screensize')
  댓글 수: 3
fima v
fima v 2021년 1월 6일
Hello Timo,I want to move the mouse to some random location and by doinf a left click to store the cooredinate.
Jan
Jan 2021년 1월 7일
Do you want to do this inside a Matlab window?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Platform and License에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by