• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to identify the default browser?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: How to identify the default browser? (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: Error of type -1
  • Next by Date: Re: How to identify the default browser?
  • Previous by thread: Re: How to identify the default browser?
  • Next by thread: Re: How to identify the default browser?
  • Index(es):
    • Date
    • Thread