Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AppleScript move mouse only

is there any way to move mouse without click on mac? I tried to use AppleScript to move mouse, but fail。

tell application "Extra Suites"
     ES move mouse {200,200}
end tell

error with : expected "given","with","without",other parameter name,etc. but found identifier.

like image 880
zlee Avatar asked Mar 11 '23 04:03

zlee


1 Answers

Instead of Extra Suites (which hasn't worked for a while now), consider cliclick (https://www.bluem.net/en/mac/cliclick/).

do shell script "/usr/local/bin/cliclick m:" & "222,333"
like image 97
CRGreen Avatar answered Mar 15 '23 00:03

CRGreen