Detecting a key press
Detecting a key press
- Subject: Detecting a key press
- From: Jim Thompson <email@hidden>
- Date: Thu, 2 Dec 2010 21:21:09 +0900
Dear AppleScripters,
Hello. I know how to simulate keystrokes, using AppleScript. What I
have not been able to figure out is detection of a key press. Is it
possible to find out if the user has pressed the Shift key, Command
key, Option key or Control key? In plain English, I want something like
If command key is pressed then
"hello"
End if
If I ask a guy named Google about keys pressed, I hear about Jon's
Commands or whatever a lot.
Thanks a lot.
Jim Thorton
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden