• 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: Services Menu Heading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Services Menu Heading


  • Subject: Re: Services Menu Heading
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Mon, 7 Dec 2009 13:10:20 +0700

On 7 Dec 2009, at 12:54, Nick Zitzmann wrote:

>
> On Dec 6, 2009, at 9:38 PM, Gerriet M. Denkmann wrote:
>
>> What magic incantations do I have to perform to make my service appear under it's appropiate heading ?
>
> You need to set the undocumented key "NSServiceCategory" in the NSRequiredContext dictionary if the Keyboard preference pane misinterprets your service's function. See <http://github.com/nickzman/symboliclinker/blob/master/SymbolicLinkerService-Info.plist> for an example of how I did this in SymbolicLinker; I seem to recall that the preference pane threw the service into the "Other" category until I added that key-value...


Following your example I added an NSRequiredContext  with NSServiceCategory = public.item and now my service appears under  "Files and Folders". Which proves:
1. NSRequiredContext has some effect and:
2. public.item  ist NOT the right thing so use. But what is? "string.to.look.up.in.some.dictionary" sounds not quite right.

Any ideas?


Kind regards,

Gerriet.

_______________________________________________

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

  • Follow-Ups:
    • Re: Services Menu Heading
      • From: Nick Zitzmann <email@hidden>
References: 
 >Services Menu Heading (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Services Menu Heading (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Problem setting to-one relationship on NSManagedObject
  • Next by Date: Re: Services Menu Heading
  • Previous by thread: Re: Services Menu Heading
  • Next by thread: Re: Services Menu Heading
  • Index(es):
    • Date
    • Thread