Applescript and Mouse Keys failure
Applescript and Mouse Keys failure
- Subject: Applescript and Mouse Keys failure
- From: "Bill Stephens" <email@hidden>
- Date: Mon, 5 Feb 2007 17:02:06 -0500
All,
I'm trying to find a simple way to create an Applescript that will just click the object under the cursor when a say "Click" using Speech Recognition on my MacBook Pro (10.4.8). I've got bad wrist issues and am moving from Naturally Speaking on Windoes to Mac. I'm a noob to AppleScript.
I enabled Speech Recognition ant it appears to be working fine.
I enabled Mouse Keys and if I use the keyboard for "Fn" + "i" clicking is fine.
I created a script to perform the key code for "Fn" + "i", but it's not working. It appears that Mouse Keys is bypassed from within AppleScript because I'm getting a "5" as output.
tell application "System Events"
key code {"Fn", 23}
end tell
Other ideas include getting the object that exists under the cursor programmatically and performing a mouse down/up on it.
Any Thoughts?
Thanks,
Bill S.
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden