Re: set optionKeyDown to...
Re: set optionKeyDown to...
- Subject: Re: set optionKeyDown to...
- From: "Stockly, Ed" <email@hidden>
- Date: Thu, 11 Sep 2008 18:21:48 -0700
- Thread-topic: set optionKeyDown to...
>> What exactly are you trying to accomplish? Not just having the
>> option key down, but for what purpose and what app?
>>
> tell application "Extra Suites"
> set optionKeyDown to (ES option down)
> quit
> end tell
>
> The line in my script "set optionKeyDown to (ES option down)" sets
> variable optionKeyDown to boolean state of the option key.
>
> if optionKeyDown then
> -- do something
> end if
Well, I was trying to figure out what the "do something" was.
If you're not running on an Intel processor see if
keys pressed from Jon's commands works.
if "option" is in keys pressed then
do something
end if
keys pressed (verb)
Get the keys that are currently pressed. (from the Jon¹s Commands 3.0d3
suite, defined in Jon¹s Commands.osax)
function syntax
set theResult to keys pressed
result: list of string
A list of key names.
HTH,
ES
_______________________________________________
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