Launching a local file in the default browser

Richard Gaskin ambassador at fourthworld.com
Sat Aug 9 03:20:01 EDT 2003


Ken Ray wrote:

> Richard, you posted this to the MC list last year under the header :
> 
> Found it:  You have to explicitely tell the Finder, like this:
> 
> put "tell application "&quote&"Finder"&quote&cr&"open "&quote& \
> tFilePath &quote&cr&"end tell" into s
> do s as AppleScript
> 
> See: http://lists.runrev.com/pipermail/metacard/2002-January/000569.html
> 
> But I just checked it and it doesn't work for me.

Same here:  it launches the local file, but in the application that matches
the file's creator code and not the default browser. :(

> I'll keep looking...

Thanks.  Hopefully one of us will solve this once and for all...

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc




More information about the metacard mailing list