Make auto click

I play Safari.

I want to make applescript that automatically clicks on me in a special place on the screen, I tried many things, but none of them worked for me.

Any ideas how to do this?

+3
source share
4 answers

You can record the mouse movement using Automator and play this recording: you can also save it as an application ... This is the easiest way, in my opinion ...

+2
source
delay 3
tell application "System Events"
    tell application process "TheApp"
        key code 53
        delay 1
        click (click at {1800, 1200})
    end tell
end tell

Mavericks.

+1

, / :)

(, ), Runescape = P

Of course, this is against the rule, so you can be blocked: S

As sylter says, you can use Automator to automate your task (this is the only solution), I tried to click the mouse button, but I could not find out how: /

you must use the machine! it is REALLY easy :)

0
source
repeat 10 times
    delay 1
    tell application "System Events"
        tell application process "Safari"
            click (click at {650, 730})
        end tell
    end tell
end repeat

should work for you

0
source

Source: https://habr.com/ru/post/1779412/


All Articles