Re: Services Menu Heading

2009-12-07 Thread Gerriet M. Denkmann
On 7 Dec 2009, at 13:01, Kyle Sluder wrote: > It's good list etiquette to keep replies on-list. I know; and I apologize for hitting the wrong button. It happened while I was sitting in a rather noisy cafe (because my home internet connection is not working). > > On Sun, Dec 6, 2009 at 9:55 PM,

Re: Services Menu Heading

2009-12-06 Thread Kyle Sluder
On Sun, Dec 6, 2009 at 10:24 PM, Gerriet M. Denkmann wrote: > NSServiceCategary = Searching, which seems to work. Kind of obvious once > found. Some documentation would have been even better (and would have saved > me some time). Apple obviously hasn't nailed down the Services stuff yet, as evi

Re: Services Menu Heading

2009-12-06 Thread Gerriet M. Denkmann
On 7 Dec 2009, at 13:15, Nick Zitzmann wrote: > > On Dec 6, 2009, at 11:10 PM, Gerriet M. Denkmann wrote: > >> 2. public.item ist NOT the right thing so use. But what is? >> "string.to.look.up.in.some.dictionary" sounds not quite right. > > IIRC I asked about this before, and the reply I got

Re: Services Menu Heading

2009-12-06 Thread Nick Zitzmann
On Dec 6, 2009, at 11:10 PM, Gerriet M. Denkmann wrote: > 2. public.item ist NOT the right thing so use. But what is? > "string.to.look.up.in.some.dictionary" sounds not quite right. IIRC I asked about this before, and the reply I got said that there isn't a UTI or old-school pasteboard type

Re: Services Menu Heading

2009-12-06 Thread Gerriet M. Denkmann
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 > NSRequ

Re: Services Menu Heading

2009-12-06 Thread Kyle Sluder
It's good list etiquette to keep replies on-list. On Sun, Dec 6, 2009 at 9:55 PM, Gerriet M. Denkmann wrote: > Yes, but Dictionary and Safari just have NSSendTypes = NSStringPboardType (no > UTIs at all) and appear under the correct heading. Like I said, there are hardcoded exceptions. > Any i

Re: Services Menu Heading

2009-12-06 Thread Nick Zitzmann
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 misinte

Re: Services Menu Heading

2009-12-06 Thread Kyle Sluder
On Sun, Dec 6, 2009 at 8:38 PM, Gerriet M. Denkmann wrote: > What magic incantations do I have to perform to make my service appear under > it's appropiate heading ? The heading is determined by what UITs your service accepts. There are certain hardcoded exceptions to this rule. This is an are

Services Menu Heading

2009-12-06 Thread Gerriet M. Denkmann
I have an app which offers an NSService. Works fine so far. But: I want this service to appear in the Services Menu under the "Searching" Header, together with "Look Up in Dictionary" and "Search With Google". (Currently it appears under "Text") So I checked the Info.plist of both Dictionary.ap