Re: How to get the word under the mouse pointer?
Re: How to get the word under the mouse pointer?
- Subject: Re: How to get the word under the mouse pointer?
- From: James Chen <email@hidden>
- Date: Mon, 10 Dec 2007 09:44:51 +0800
- Thread-topic: How to get the word under the mouse pointer?
Dear Bill,
Thanks a lot!
I think that's the approach and I'll try it.
And thanks all of you who ever contributed the idea, thanks.
Best Regards,
James Chen
Presentation Product Division
TEL: +886 2 22263630 ext 8538
FAX: +886 2 22267241
Mailto: email@hidden
http://www.avermedia.com
AVerMedia Technologies, Inc.
簡報產品事業單位: 陳銘崧
圓剛科技(股)公司
This message contains information that may be confidential and privileged.
Unless you are the addressee (or authorized to receive messages for the
addressee), you cannot use, copy or disclose to any third party or any
information contained in the message. If you have received the message in
error, please advise the sender by reply e-mail and delete the message.
Nothing in this message should be interpreted as a digital or electronic
signature that can be used to authenticate a contract or to other legal
document. Thank you very much.
> From: Bill Cheeseman <email@hidden>
> Date: Fri, 07 Dec 2007 06:04:36 -0500
> To: Cocoa-Dev Mail <email@hidden>
> Conversation: How to get the word under the mouse pointer?
> Subject: Re: How to get the word under the mouse pointer?
>
> on 2007-12-07 2:31 AM, Ron Fleckner at email@hidden wrote:
>
>> My guess is that you could use Carbon calls to define a global hot
>> key to start your faceless app, then, perhaps also using Carbon, find
>> out where the mouse pointer is.
>
> Carrying this to the next step: You could then use the Accessibility API to
> obtain the word under the mouse pointer.
>
> Unfortunately, in Leopard Apple has removed the only document that ever
> existed that explains how to use the Accessibility API in an "assistive"
> application like this. If you still have Tiger, look for the "Preliminary
> Release Note" on using the Accessibility API to write assistive
> applications.
>
> Otherwise, look for the header files prefixed with "AX" in the HIServices
> subframework of the ApplicationServices framework. Also, Apple's
> UIElementInspector (Accessibility Inspector) sample code shows how to use
> it.
>
> --
>
> Bill Cheeseman - email@hidden
> Quechee Software, Quechee, Vermont, USA
> www.quecheesoftware.com
>
> PreFab Software - www.prefabsoftware.com
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden