how to write a field on a file keeping the text formatting intact
André.Bisseret
Andre.Bisseret at inria.fr
Mon May 7 07:24:53 EDT 2007
Hi,
The following handler put the text of a field in a (Word) file but
it does not keep the html format :
set the defaultFolder to specialFolderPath("desktop") & "/IMPORT"
-- with file "thisFile.doc" in "IMPORT
open file "ThisFile.doc" for write
write fld "thisField" to file "suchFile.doc"
close file "suchFile.doc"
I tried to put the fld in a variable and to set the htmlText of this
variable to the htmlText of the fld
but I got an error "can't set this property".
Is is a way to write the content of a file on a file (in Word)
keeping the format intact ?
Thanks a lot in advance for any advice
Best regards from Grenoble
André
More information about the use-livecode
mailing list