Mac OS X Technologies

mouse not clicking

I am a bit of a noob at apple script, I am trying to make it click at a point after pressing a key. I don't know where I've gone wrong and its probably very stupid. This is what I already have:

tell application "System Events"

repeat 200 times

delay 10

key down "w"

delay 20

key up "w"

delay 10

click at {969, 910}

end repeat

end tell

Click to rate this post!
[Total: 0 Average: 0]

Related posts

Correct syntax for finder path in Applescript


Applescript how to see if a document is open.


Using Automator to get text.


Leave a Comment