• 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
Opening a local HTML file in the default browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Opening a local HTML file in the default browser


  • Subject: Opening a local HTML file in the default browser
  • From: "Ernie" <email@hidden>
  • Date: Sun, 12 Jan 2003 10:22:57 -0500 (EST)

Hi,

I'm creating an HTML file using AppleScript Studio. Once the file has been created, I want to open it in the user's default browser as set in the internet pane of system prefs.

Using "open file", the HTML file always seems to open in Internet Explorer instead of in whatever browser is selected as the default.

Using "open location" the default browser is used for URLs that start with "http:", but for those that start with "file:", again IE is always used.

Since I can't seem to make a local file open in the default browser, can anyone tell me how I can determine what application the user has selected as his default browser (either by creator ID or location)?

(I am using OS 10.1, in case it matters, and unfortunately, I can't upgrade to 10.2 at this point.)

Thanks!

Ernie
The most personalized portal on the Web!
_______________________________________________
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.

  • Prev by Date: Re: Union of sets (lists
  • Next by Date: Re: Top level garbage strike
  • Previous by thread: Re: Union of sets (lists
  • Next by thread: Re: Opening a local HTML file in the default browser
  • Index(es):
    • Date
    • Thread