Peter Reid wrote/ schreef:
> Have you tried using the "launch" command? This allows you to launch
> an application, either on its own or with a document to be opened.
> Of course you'd need to know where Word was installed on the client
> machine, but this should be available as a registry entry (under
> Windows) or through AppleScript (under MacOS).
If you simply want to have a permanent Word doc in a field, you could save
it as HTML in Word, and then run:
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,
Sjoerd
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.