On Jun 30, 2004, at 5:26 PM, Jan Bjerring wrote:
You'll need to insert a "localhost" in your url
If you change your menu handler to:
dim f, c as folderItem
dim s as string
f=getfolderItem("")//the application folder
c=f.child("index.html")
s="file://localhost/"+c.absolutePath
showURL s
It should work (at least it works on my machine).
Cheers
Jan
Well, that worked. Only thing, in my case, was that file initially
opened in PageSpinner, since I had that set as my default application
for html files (since local ones, in my case, primarily exist to be
edited.) Once I did 'get info' and changed it to Safari, all was well.
I guess that won't be an issue with most users--but if there's a way
to compel the selection of a web browser, that would be nice.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|