• 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 make a global contextual menu item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to make a global contextual menu item (From: Adil Saleem <email@hidden>)

  • Prev by Date: Re: What are the best macros to use to know when compiling is for Mac OS X v.s. iOS?
  • Next by Date: Mouse up events ignored when sandboxing is turned on?
  • Previous by thread: How to make a global contextual menu item
  • Next by thread: Mouse up events ignored when sandboxing is turned on?
  • Index(es):
    • Date
    • Thread