Sample Header Ad - 728x90

AppleScript: How to double-click & right-click at cursor location?

4 votes
3 answers
5191 views
I want to be able to double-left-click, then immediately right-click using AppleScript. The location of the click is wherever my cursor is located at the time that the AppleScript is triggered. The AppleScript will be triggered by [FastScripts](https://red-sweater.com/fastscripts/) via keyboard shortcut. I would like the script to work across all applications. I installed [cliclick](https://github.com/BlueM/cliclick) . When I type cliclick -h into Terminal, I see that it can double-click, but there is no mention of the right-click.
Asked by rubik's sphere (5750 rep)
Mar 15, 2017, 08:44 AM
Last activity: Mar 11, 2021, 10:10 AM