Re: Communicating With Browser
Re: Communicating With Browser
- Subject: Re: Communicating With Browser
- From: Quinn <email@hidden>
- Date: Wed, 24 Nov 2004 10:53:29 +0000
At 6:32 -0700 10/11/04, Zack Morris wrote:
I use internet config to get the name of the default browser
The string returned by IC when you get the default browser is a UI
hint, for display when you can't find the app by creator code. It's
definitely not something that you should rely on. Rather, you can
get the user's default browser from Launch Services using
LSGetApplicationForURL. Once you have a reference to the app, you
can recover its bundle identifier (and failing that its creator) to
see whether it's already running.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden