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?
Who is Participating?
sollekAuthor Commented:
It would seem I have stumped EE?
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.