delay 2
my TabKeyDowntest()
set TabKeyDowntest to result
if TabKeyDowntest then
beep 3
end if
on TabKeyDowntest()
set modKeyDown to do shell script "/Applications/Utilities/checkModifierKeys Tab"
set modKeyDown to modKeyDown as integer
set modKeyDown to modKeyDown as boolean
end TabKeyDowntest
On Nov 10, 2009, at 4:30 PM, Stockly, Ed wrote:
>>>I need a simple applescript code that can detect if the TAB key is up or down.
As far as I know there is no AppleScript way to determine the current up or down status of any key. That was a feature of Jon’s Commands, but that has not been updated for Intel macs.
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