If key is pressed then...
If key is pressed then...
- Subject: If key is pressed then...
- From: "Jesse Almanrode - JA Computing" <email@hidden>
- Date: Fri, 17 Aug 2007 08:29:32 -0600
Good morning everyone.
I have a script that is a droplet but also runs as a standard application. What I want to be able to do is add some code that will watch when the script is run as an application to see if a key is pressed on the keyboard (like the option key or the shift key). If the key I specify is pressed I want the script to respond differently than if no keys are pressed.
I have seen some people doing this with third party Apple Script plugins but I want to know if this can be done in AppleScript by default using System Events or something of that nature.
Any takers?
--
Jesse Almanrode
Webmaster/Netcaster
www.jacomputing.netCheck out the iScript Netcast on iTunes
_______________________________________________
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