• 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
Applescript and Mouse Keys failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Applescript and Mouse Keys failure
      • From: Takaaki Naganoya <email@hidden>
  • Prev by Date: RE: Help to fix script..Anyone?
  • Next by Date: Re: problem w/ text item delimiters
  • Previous by thread: RE: Help to fix script..Anyone?
  • Next by thread: Re: Applescript and Mouse Keys failure
  • Index(es):
    • Date
    • Thread