Link to home
Start Free TrialLog in
Avatar of sollek
sollekFlag for United States of America

asked on

Applescript (or other code) to hold the 'Control' key until the next mouse click

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?
Avatar of sollek
sollek
Flag of United States of America image

ASKER

It would seem I have stumped EE?
Avatar of hboris
hboris

Try researching Universal Access, especially sticky keys. If it is possible to emulate mouse movement and clicks (right also) with keyboard using only one finger, what you need should be possible also.

Boris Herman, ACSA
ASKER CERTIFIED SOLUTION
Avatar of strung
strung
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial