Re: When default browser not the default browser
Re: When default browser not the default browser
- Subject: Re: When default browser not the default browser
- From: Mark Thomas <email@hidden>
- Date: Thu, 29 Jul 2004 21:39:52 +0100
- Organization: Coderus Ltd
I think this is where the problem is, with safari's associated are there
even though IE is the default.
Does any of Apple bods have any insight in how ICLaunchURL is working, or is
just send an open to finder ???.
Does anybody know what would be the best way to find the browser application
using the information from ICGetPref (creator code and name), and launch it
and send it my specific URL. I guess this would be the GetURL apple-event.
(Wasn't these IC function's avaliable before Apple took them under their
wing)
Thanks
Mark.
>
--- At Wed, 28 Jul 2004 18:00:01 +0100, Mark Thomas wrote:
>
>
> I don't remember see where there is a list of these associations in MacOS-X,
>
> can you point me where this could be held ???.
>
>
I believe that it's in the info.plist of the application. There is no
>
central repository. Applications get to fight it out with Launch
>
Services. Actually I have no idea how launch services decides when
>
multiple apps register for the same extension.
>
>
> The problem here is that I need to send some applescript to default browser
>
> and so I need to know who it could be so I can find in the process list.
>
> Also the applescript is browser dependant :-(.
>
>
>
> Hmmm I'm now wondering how I could implement ICLaunchURL variant now - any
>
> body know
>
>
Sorry. Seems like kICHelperHttp should provide enough information to do
>
the right thing. Don't know for sure.
>
>
>> --- At Wed, 28 Jul 2004 15:59:49 +0100, Mark Thomas wrote:
>
>>
>
>>> Hi,
>
>>> I'm getting some strange reports that on 10.2.8 with Safari 1.0 (v85.5)
>
>>> installed, that the default browser is "Internet Explorer". But when I do
>
>>> ICLaunchURL Safari is launched with the URL I specified, also what is
>
>>> strange if I do ICGetPref (..,kICHelperHttp, ..) I get back Internet
>
>>> Explorer information.
>
>>>
>
>>> Also if I check what the default browser is within Safari, it report's
>
>>> "Internet Explorer" so that is all very weird.
>
>>>
>
>>> Any ideas, why this could be happening, is there a work around why
>
>>> ICLaunchURL is starting the wrong application.
>
>>
>
>> This is just a guess on my part, but the system also includes the ability
>
>> to register for handling extensions. My guess is that Safari has
>
>> registered .html and your URL has a .html extension. Safari will win,
>
>> even though IE is the default browser.
>
>>
>
>> I imagine there is some work around involving launching IE instead of
>
>> IClaunchURL.
>
>
...Duane
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.