• 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
Key Code For Option Key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Key Code For Option Key


  • Subject: Key Code For Option Key
  • From: Thomas Maffucci <email@hidden>
  • Date: Tue, 11 Mar 2008 12:49:26 -0400
  • Thread-topic: Key Code For Option Key

Hi ,
I want to be able to be able to activate mouse keys by pressing the option
key 5 times from apple script. The appropriate box has been checked in
Universal Access System Preferences.

I have tried the following with no success.
tell application "System Events"
    -- enter option key 5 times to get mouse keys
key code 58 -- press option key NG
key option -- press option key ng no compile
key code option -- press option key NG
keystroke (ASCII character 7) --NG
key code (ASCII character 7) --NG

Any further suggestions would be appreciated.


 _______________________________________________
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

  • Follow-Ups:
    • Re: Key Code For Option Key
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: Uninstall script
  • Next by Date: Re: AS newbie Filemaker question
  • Previous by thread: Keychain and X509 Certificates
  • Next by thread: Re: Key Code For Option Key
  • Index(es):
    • Date
    • Thread