Applescript (or other code) to hold the 'Control' key until the next mouse click
Posted on 2010-09-19
Okay, I'm trying to write a script that can be run when a user wants to perform a right-click for the next mouse click. It's for use with a touchscreen (non-multitouch) interface that doesn't have right-click accessibility built-in for the Mac. The code for holding down the control key is easy. However, I have found it next to impossible to find ANY code that will let me detect a mouse click or tell the script to end after one click. Any ideas?