Double click in AppleScript

How do you write the command to carry out a double click with a mouse at a specific location in AppleScript?


Solution 1:

You can use AppleScript to click twice using click at and a delay.

tell application "System Events"
  click at {10, 10}
  delay 0.1
  click at {10, 10}
end tell