Re: Services Menu in Snow Leopard
Re: Services Menu in Snow Leopard
- Subject: Re: Services Menu in Snow Leopard
- From: Jean-Daniel Dupas <email@hidden>
- Date: Sat, 5 Sep 2009 12:08:17 +0200
Le 5 sept. 2009 à 06:26, Gerriet M. Denkmann a écrit :
I have an app which provides info about files, folders, symlinks, etc.
In Leopard the Services Menu of e.g. Finder did show my "Get
Information" regardless whether a file or a folder was selected.
In Snow Leopard the Services Menu of Finder is empty whenever a
folder is selected (files and other stuff work ok).
(To be exact: aliases or symlinks to folders also result in an empty
Services Menu)
System Preferences → Keyboard → Keyboard Shortcuts correctly
contains my "Get Information" under the "Text" heading, but NOT
under "Files and Folders".
But, as I said, it IS working for files - only folders don't work.
My Info.plist has: Send Types = NSFilenamesPboardType +
NSStringPboardType
What am I doing wrong?
Kind regards,
Gerriet.
P.S. I have just re-read the "Services Implementation Guide" but
found no clou to my problem.
No, the answer is not in the guide AFAIK.
Add the key NSRequiredContext and in this dictionary, add a
NSServiceCategory key with value public.item.
<key>NSRequiredContext</key>
<dict>
<key>NSServiceCategory</key>
<string>public.item</string>
</dict>
_______________________________________________
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