• 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: How to get cursor text from a Mac window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get cursor text from a Mac window


  • Subject: Re: How to get cursor text from a Mac window
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 20 Jul 2008 15:59:25 -0700


On 19 Jul '08, at 5:00 AM, Gang Chen wrote:

I am new to Cocoa and Mac dev, and I want to make a simple dictionary program with Cocoa on MacOSX. Can anybody help and tell me how to get any words on screen where cursor points in Cocoa?

I'm not exactly sure how the built-in Dictionary app does this; I think it's using the accessibility or screen-reading system APIs. This doesn't seem like something you'd want to get into as a newbie Cocoa developer. I would advise focusing on building regular apps for a while until you get comfortable with Cocoa, before starting on things that interact with other applications.


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >How to get cursor text from a Mac window (From: Gang Chen <email@hidden>)

  • Prev by Date: Re: WebKit, programmatic form input, form submits
  • Next by Date: Re: Drawer examples?
  • Previous by thread: Re: How to get cursor text from a Mac window
  • Next by thread: How to customize View to combine UITextView and UITextField?
  • Index(es):
    • Date
    • Thread