• 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
Re: Text Capture in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text Capture in Cocoa


  • Subject: Re: Text Capture in Cocoa
  • From: Eric Schlegel <email@hidden>
  • Date: Thu, 15 Jun 2006 17:29:05 -0700


On Jun 15, 2006, at 5:15 PM, Yaogang Lian wrote:

Thanks for reply, John.

The accessibility API is quite useful for grabbing info from UI elements, but it seems to
be unable to grab a single word. For example, when I point the mouse to a word
in a web page, the accessibility API returns either all the texts in a paragraph or selected
texts. I hope to be able to grab a single word without actually selecting it. This seems to
be a more tricky task.

I believe the Dictionary thingy uses a combination of the Accessibility API and the DocumentAccess suite of Text Services Manager Carbon events.


-eric

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Text Capture in Cocoa (From: Yaogang Lian <email@hidden>)
 >Re: Text Capture in Cocoa (From: "John C. Randolph" <email@hidden>)
 >Re: Text Capture in Cocoa (From: Yaogang Lian <email@hidden>)

  • Prev by Date: Re: User-only preference pane
  • Next by Date: Re: Apple's Secret Desktop Sauce
  • Previous by thread: Re: Text Capture in Cocoa
  • Next by thread: Re: Text Capture in Cocoa
  • Index(es):
    • Date
    • Thread