user3601107
user3601107

Reputation: 11

Applescript autoclick returns -1700 error

I want to make applescript autoclick for me in a special spot on the Safari tab, i have tryed this one:

    delay 10
    tell application "System Events"
        tell application process "Safari"
            click (click at {650, 730})
        end tell
    end tell

but it's returning error: click application process "Safari" at {650, 730} --> error number -1700 from {650, 730} to list

What does it meen?

Upvotes: 1

Views: 155

Answers (1)

user309603
user309603

Reputation: 1548

In Mavericks click at doesn't work as expected anymore. You can found some discussions via google.

You have to look for alternatives:

Cliclick (free tiny shell application from Carsten Bluem)

python (Tony T1 wrote a python solution in apple forum)

MouseTools (another free command line tool from HAMSoft)

PS

Don't use click twice. It's just: click at {650, 730}

Upvotes: 1

Related Questions