• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Screen Saver ON/OFF!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screen Saver ON/OFF!


  • Subject: Re: Screen Saver ON/OFF!
  • From: Robert Poland <email@hidden>
  • Date: Tue, 10 Nov 2009 21:46:59 -0700

HI,

not an Applescript  but close;

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
References: 
 >Re: Screen Saver ON/OFF! (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: Change Xcode group order
  • Next by Date: script hangs and won't finish
  • Previous by thread: Re: Screen Saver ON/OFF!
  • Next by thread: Re: Screen Saver ON/OFF!
  • Index(es):
    • Date
    • Thread