zlee
zlee

Reputation: 85

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.

Upvotes: 7

Views: 12932

Answers (1)

CRGreen
CRGreen

Reputation: 3444

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"

Upvotes: 8

Related Questions