AppleScript click at mouse position
<p>This code works to click on a specific location on the screen but how do you click at the cursor's coordinates?</p>

<pre><code>tell application "System Events"
    click at {10, 10}
end tell
</code></pre>