On Apr 01, 2006 7:59 AM, Steve Garman wrote:
> From memory, the safest cross-platform answer is to use a
> FolderItempointing at a file that exists (*any* file but
> not a folder)

Why not a folder? Will it give any error on Mac if you specify a valid
folder?

> On a Mac, you can use Nil instead, on Windows you can use a
> folder (though that results in the creation of a temporary
> file) but neither of those possibilities is cross-platform.

Maybe that's a bug on Mac :) I presume this method requires a valid
folder item as it uses it to get any files referenced on the source,
like images for example.

>From the LR:
"HTMLViewer.LoadPage Source, RelativeTo
Loads the passed source HTML. Any links will be resolved relative to
the passed RelativeTo FolderItem."

>From my tests on Windows (Win2K) specifying a folder or file is the
same. Windows always create a NEW temporary file.

> I've never tested this on Linux.
Neither have I, and I would like that someone tested it so see what
are the results.

Carlos

_______________________________________________
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>

Reply via email to