Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Safari Contextual Menu



I'm interested in creating a contextual menu in Safari and other apps based on the text or selection the user clicked on. It seems like there are some apps that pull this off, but there doesn't seem to be a straightforward method.

Do I need to create a CMM plugin? I've looked at the CMM example code from apple but it looks like the text selection context is broken in almost all of Apple's apps. (the context type comes back as "llun", which to my understanding represents NULL) What else do I need to use in order to have a contextual menu plugin work on selected text in Safari, TextEdit, etc.?

Bryan
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.