Re: Still need help with Services. Is there sample code?
Re: Still need help with Services. Is there sample code?
- Subject: Re: Still need help with Services. Is there sample code?
- From: Keary Suska <email@hidden>
- Date: Thu, 18 Sep 2014 17:13:35 -0600
On Sep 18, 2014, at 3:22 PM, Daryle Walker <email@hidden> wrote:
> I removed the old style type (“NSStringPboardType”) and it still worked. When I changed the “public.plain-text” to “public.url” and tested with the entry field on Firefox, Safari’s “Open URL” service showed up, but my version didn’t! Same thing happened using “NSURLPboardType” as the send type. Renaming the public name of my service, so it wouldn’t match Safari’s, didn’t work. Changing the send-type to “public.url-name” didn’t work.
>
> Now we narrowed what’s wrong. I still don’t know how to fix it.
At this point, you are probably just looking at a UTI issue. Standard UTI's are documneted in the UTCoreTypes.h header. I don't know if they are documented elsewhere. Simply open terminal and execute "locate UTCoreTypes.h" to find the various headers.
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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