Solved

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

Posted on 2010-09-19
4
1,202 Views
Last Modified: 2013-12-26
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?
0
Comment
Question by:sollek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 1

Author Comment

by:sollek
ID: 33713725
It would seem I have stumped EE?
0
 
LVL 6

Expert Comment

by:hboris
ID: 33744024
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
0
 
LVL 53

Accepted Solution

by:
strung earned 500 total points
ID: 33781710
0
 
LVL 53

Expert Comment

by:strung
ID: 33781792
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The /etc/authorization file in Mac OS X 10.x can be used to control access to the various panes of the System Preferences amongst other things. It’s used by some of us Mac Sys Admin’s to give Standard Users access to System Prefs panes that only adm…
We could spend the next millennium discussing the differences of the Mac and Windows platforms. The next century will continue to have fanatics on both side of the equation and neither side will win the war. However, that’s not why we are here. W…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question