Re: get default browser?
Re: get default browser?
- Subject: Re: get default browser?
- From: "Paul F. Henegan" <email@hidden>
- Date: Fri, 02 Aug 2002 10:01:00 -0400
on 8/1/02 3:26 PM +1200: Michael Grant wrote:
>
Can AppleScript identify the default Web browser specified in OS X's
>
Internet preference pane?
>
I'm having problems with some 'open URL' type
>
scripts not working when certain apps are frontmost, and I'd like to try
>
addressing the browser explicitly in a 'tell' block, without overriding the
>
user's browser preference.
Hi Michael,
Pre OS X I've had success using the following raw code but have no idea if
it's available in X:
======================================================================
[LEFT-DOUBLE-CHEVRON]event sysogurl[RIGHT-DOUBLE-CHEVRON]
[NO-BREAK]"someURLhere" with
[NO-BREAK][LEFT-DOUBLE-CHEVRON]class errr[RIGHT-DOUBLE-CHEVRON]
======================================================================
[formatted using ScriptToEmail - gentle relief for mailing list pains]
[
http://files.macscripter.net/ScriptBuilders/ScriptTools/ScriptToEmail.hqx]
Whether http, https, ftp, mailto, gopher, etc. it always launches the
preferred application.
HTH,
paul
--
Paul F. Henegan
<email@hidden>
_______________________________________________
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.