• 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: Andy Wylie <email@hidden>
  • Date: Tue, 01 May 2001 00:21:10 +1200

on Mon, 30 Apr 2001 06:34:33 -0500 JollyRoger wrote:

> Note that the setting in File Exchange is not necessarily the same as the
> setting in the Internet Control panel (aka Internet Config settings).

hi JR and Jan,
I believe Internet Config is the master here and any changes are reflected
in File Exchange but the default app for html isn't necessarily the default
browser.
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
_____________________________ Andy


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