Double click in AppleScript

applescriptclickscript

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

Best Answer

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