In a recent posting regarding displaying a Word file Sjoerd wrote:
>set the HTMLText of field "doc" to url "file:/Mac HD/Docs/MyDoc.html"
> or
>set the HTMLText of field "doc" to url "file:C:/Docs/MyDoc.htm"
>
>> replace " " with "%20" in localPage
>Ouch! I think you'd better use:
>put urlEncode(localPage) into localPage
>
>1) You could also replace a space by "+"
>2) The urlEncode function does also convert chars like � and �
>
>Hope this helps,
This came as a bit of a surprise, because I didn't know HTMLText could be
set as an url. [My excuses being that I've only just got interested in that
sort of thing, and in the index the HTMLText example only uses a string]
When I started playing with it, I initially had no luck. No error messages,
or anything specifically discouraging, just a barely perceptible flash. Of
course, I hadn't specified the URL correctly. A no such file message would
be handy.
Also, what is the "file: prefix for? Or, more specifically, what else could
it be? If you use HTML text, can you use hot text a la MC using group? It
is still available in the menu, but seemed to do strange things when I tried
it (jumped from the selected text to the top of the page)
The usual apologies for the naive questions.
David Glasgow
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.