• 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: Philip Aker <email@hidden>
  • Date: Fri, 31 May 2002 09:50:40 -0700

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?



Philip Aker
http://www.aker.ca

'
_______________________________________________
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.

  • Follow-Ups:
    • Re: How to identify the default browser?
      • From: Alex Robinson <email@hidden>
    • Re: How to identify the default browser?
      • From: Rob Morton <email@hidden>
References: 
 >Re: How to identify the default browser? (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Write a prefs file
  • Next by Date: Re: Write a prefs file
  • Previous by thread: Re: How to identify the default browser?
  • Next by thread: Re: How to identify the default browser?
  • Index(es):
    • Date
    • Thread