Re: How to identify the default browser?
Re: How to identify the default browser?
- Subject: Re: How to identify the default browser?
- From: Rob Morton <email@hidden>
- Date: Fri, 31 May 2002 13:52:59 -0400
on 5/31/02 12:50 PM, Philip Aker at email@hidden wrote:
>
On Friday, May 31, 2002, at 06:49 AM, Lachlan Deck wrote:
>
>
>> Is there a way, using AppleScript, to determine the identity
>
>> of the default browser?
>
>
> Not as far as I know - actually this would a prized find by
>
> many (as currently OS X has a _very-bad-habit_ of reverting
>
> back to IE as it's default browser as soon as the
>
> _user-selected-browser_ goes out of scope - for example, when
>
> you are updating it.)
>
>
It seems to be available here:
>
>
set res to (do shell script "defaults read
>
com.apple.LaunchServices 'LSBindingPrefsTypeBindings' | grep
>
'\"A;????.html\"'")
>
>
set xmlname to last word of res
>
>
-->"com.omnigroup.OmniWeb"
>
>
>
Can anyone verify?
Clever idea, but unfortunately, mine has no information for html. Kind of
rules that method out.
Rob Morton
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.