Key Code For Option Key
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