Re: How to make a global contextual menu item
Re: How to make a global contextual menu item
- Subject: Re: How to make a global contextual menu item
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 30 Dec 2011 11:36:00 -0700
On Dec 30, 2011, at 11:05 AM, Adil Saleem wrote:
> Hi,
>
> Is it possible to create a global (which is available during all applications) contextual menu item ?
Not really, because there is a bit of fragmentation here. There are two different ways to make a CM item available in other applications:
1. By creating a Mac OS X software service
2. By using the CM plug-in API
The former will appear in CMs in Cocoa apps starting in Snow Leopard and later, if the user turned them on in the Keyboard preference pane. The latter will be loaded into all apps in Leopard and earlier, but will not be loaded into Cocoa apps starting in Snow Leopard and later, but I think they're still used by Carbon apps.
> If so, how can we create it.
Search the developer documentation for information on how to create a service. To make a CM plug-in, try searching for the "ContextualMenuHelper" source code.
Nick Zitzmann
<http://www.chronosnet.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