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é



_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to