Re: Opening a local HTML file in the default browser
Re: Opening a local HTML file in the default browser
- Subject: Re: Opening a local HTML file in the default browser
- From: has <email@hidden>
- Date: Sun, 12 Jan 2003 20:30:36 +0000
Ernie wrote:
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 location" the default browser is used for URLs that
start with "http:", but for those that start with "file:", again IE
is always used.
[Oh phooey. Everyone please ignore the post I just made to the
"Forcing 'tell app' to use carbon..." thread, while I spank myself
for such lousy QA.]
I'd say that's a bug in Standard Additions 'open location' command.
Its dictionary says "Opens a URL with ... (your favorite browser)",
but this behaviour is being overridden for local files. (Hint: if you
do a 'Get Info' for the file in Finder and pick a different
application, 'open location' will open the file in that app instead.)
Dumb.
Recommend you submit a bug report on this:
<
https://bugreport.apple.com/>. Then curse OS X's stupid,
schizophrenic handling of file typing/binding (so bad it makes DOS
look good).
:(
has
--
http://www.barple.pwp.blueyonder.co.uk -- The Little Page of AppleScripts
_______________________________________________
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.