Re: set optionKeyDown to...
Re: set optionKeyDown to...
- Subject: Re: set optionKeyDown to...
- From: Robert Poland <email@hidden>
- Date: Wed, 10 Sep 2008 13:52:07 -0600
Joe,
Thanks for the effort.
The line in my script "set optionKeyDown to (ES option down)" sets variable optionKeyDown to boolean state of the option key.
ES option down v : is the option key pressed? ES option down → boolean : true if the key is down, false if it's not
The script you referred to is more of a keystroke thing.
On Sep 10, 2008, at 1:12 PM, Joe wrote: At 11:45 AM -0600 9/10/08, Robert Poland wrote:
I use this statement several places;
tell application "Extra Suites"
set optionKeyDown to (ES option down)
quit
end tell
I don't have Extra Suites so I don't know what that command does. Just guessing: I found a script supplied by Apple in my machine's /Library/Scripts/UI Element Scripts/Key Down-Up.applescript It has statements like this in it: key down option keystroke "e" delay 1 key up option keystroke "e" keystroke return keystroke "e" using option down delay 1 keystroke "e" keystroke return key down shift keystroke "p" key up shift keystroke return key down option keystroke "p" key up option keystroke return key down {shift, option} keystroke "p" key up {shift, option} keystroke return keystroke "p" using {shift down, option down} keystroke return HTH Joe
Bob Poland - Fort Collins, CO
|
_______________________________________________
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