• 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: Apple Sample Code not working? SampleCMPlugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple Sample Code not working? SampleCMPlugin


  • Subject: Re: Apple Sample Code not working? SampleCMPlugin
  • From: Eric Schlegel <email@hidden>
  • Date: Thu, 21 May 2009 09:24:42 -0700


On May 21, 2009, at 1:23 AM, Steve Cronin wrote:

No matter what text I select this ALWAYS fails. The plugin NEVER detects text correctly.
I have set up a generic coerce method and tested for both of these as well as:
typeUnicodeText, typeStyledText, typeIntlText, typeCFStringRef (They all fail!)

I'm assuming that you're testing this after selecting text within a Cocoa app, such as TextEdit. Unfortunately, Cocoa never provides the selected text when it displays the contextual menu, so there's no way to access it.


-eric

_______________________________________________

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: 
 >Apple Sample Code not working? SampleCMPlugin (From: Steve Cronin <email@hidden>)

  • Prev by Date: Re: Escaping white space in an NSString
  • Next by Date: Re: Best way to draw text in CAOpenGLLayer
  • Previous by thread: Apple Sample Code not working? SampleCMPlugin
  • Next by thread: Privilege elevation of a cocoa app
  • Index(es):
    • Date
    • Thread