Re: Finding default browser with AS
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