Re: Services Menu in Snow Leopard
Re: Services Menu in Snow Leopard
- Subject: Re: Services Menu in Snow Leopard
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sat, 5 Sep 2009 16:42:09 +0700
On 5 Sep 2009, at 11:42, Kyle Sluder wrote:
On Sep 4, 2009, at 9:26 PM, "Gerriet M. Denkmann" <email@hidden
> wrote:
But, as I said, it IS working for files - only folders don't work.
You need to declare that your service is valid in a UTI context that
covers all your needs. Perhaps public.item?
Does not help.
But I discovered another oddity: when I have a string like "open:/usr"
and select "/usr" then nothing shows up in the Services Menu. But if
the selected path has some white space in front, then it works ok.
My Info.plist now contains:
NSRequiredContext
NSTextContent = FilePath
NSSendFileTypes
public.folder
public.item
public.symlink
public.plain-text
com.apple.alias-file
NSSendTypes
NSFilenamesPboardType
NSStringPboardType
and my service is shown in System Preferences → Keyboard → Keyboard
Shortcuts correctly under "Files and Folders".
And things which look like files in Finder (e.g. TextEdit.app) when
selected show my service in the Services Menu.
But still no real folders.
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