• 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: get default browser?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: get default browser?
      • From: Michael Grant <email@hidden>
References: 
 >Re: get default browser? (From: Andy Wylie <email@hidden>)

  • Prev by Date: Re: save documents problem (reprise)
  • Next by Date: Any scripters from Montreal?
  • Previous by thread: Re: get default browser?
  • Next by thread: Re: get default browser?
  • Index(es):
    • Date
    • Thread