Re: Question: Key state as test?
Re: Question: Key state as test?
- Subject: Re: Question: Key state as test?
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 23 May 2002 23:39:37 -0700
On 5/23/02 11:31 PM, "email@hidden" <email@hidden> wrote:
>
I'm trying to modify an existing script to check for the key-press state of a
>
modifier key (option key) to decide whether to execute a specific handler
>
routine within the script, but I can't figure out how to test for the
>
key-down state... I'd like to do it without a dialog box... Any help? OS
>
9.2.1 / AS 1.7
You need Jon's Commands' 'keys pressed' or Akua Sweets' 'input state's
modifier keys'. Test them out with your option key pressed and you'll see
how to do it. (For the test, you may need display dialog to see the result,
but once you know how to do it, you won't.)
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.