On 2/20/06 5:18 AM, "Xico Pires" <[EMAIL PROTECTED]> wrote:
> Is it possible to use ShowURL to launch a local HTML file on the
> user's HD (Mac OS X) in their default browsr?
>
> Dim PastaLocal as folderitem
> Dim fileStream As TextOutputStream
> Dim Carregahtml as String
>
> PastaLocal= GetFolderItem("temp.html")
>
> carregahtml = ReplaceAll(PastaLocal.AbsolutePath, " " , "%20" )
> carregahtml = ReplaceAll(carregahtml, "/" , "%3A" )
> carregahtml = ReplaceAll(carregahtml, "/" , "%3A" )
> carregahtml = ReplaceAll(carregahtml, ":" , "/" )
>
> carregahtml = "file:///" + carregahtml
>
>
> ShowURL carregahtml
How about...
PastaLocal.launch
That should launch in the default browser.
Michael
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>