Opening a local HTML file in the default browser
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.