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

AppleScript in Numbers

Alex

Disable Hyperthreading

Pasha

Time Machine backup failure

Coolio

Leave a Comment