• 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: Finding default browser with AS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding default browser with AS


  • Subject: Re: Finding default browser with AS
  • From: Jolly Roger <email@hidden>
  • Date: Mon, 30 Apr 2001 08:50:01 -0500
  • Replyto: email@hidden

on 4/30/01 7:21 AM, Andy Wylie (email@hidden) wrote:

> Maybe someone knows how to read Internet prefs or has another solution but
> this would be more reliable than File Exchange:
> _____________________________
> property browser : ""
>
> if browser is "" then getBrowser()
>
> on getBrowser()
> open location ""
> delay 1
> set browser to name of (info for (path to frontmost application))
> tell application browser to quit
> return browser
> end getBrowser

Did you try running this script? It gives me an error on the line:

open location ""

Anyway, it seems to me that will only work if a browser is already open.

There is indeed a way to get the actual Internet Config settings via
Applescript, which is the best solution. I don't have time to find the
scripting addition for you, but it's out there. Look for "ICSettings" or
something like that.


  • Prev by Date: Re: Finding default browser with AS
  • Next by Date: Re: Finding default browser with AS
  • Previous by thread: Re: Finding default browser with AS
  • Next by thread: Re: Finding default browser with AS
  • Index(es):
    • Date
    • Thread