Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ICDeletePref ??



At 23:57 -0600 7/4/06, J.R. Blackham wrote:
I'm writing a little utility that allows the user to enable/disable the smb:// url scheme.

In the case of URL scheme helper preferences, IC gateways through to Launch Services. Launch Services has no way to delete a URL scheme helper (other than by removing all the applications that claim this URL scheme), so you get this error.


About the only workaround that I can think of is, to disable the URL scheme, install your own URL scheme handler (that does nothing), and then set that as the default.

You can do this, at least since 10.4, with Launch Services directly.

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >Re: ICDeletePref ?? (From: Rich Siegel <email@hidden>)
 >Re: ICDeletePref ?? (From: "J.R. Blackham" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.