saving styled text?

Klaus Major klaus.major at metascape.org
Thu Sep 26 10:24:01 EDT 2002


Hi Eric,

> how do I save styled text from a field to a file so
> that the text formatting is retained in the saved
> file?
>
> I can save plain ascii just fine - I would like to
> save its format as well however.
>
> I have tried running through the help stacks and faq
> and have not found a solution. Hints pointers or ideas
> are appreciated!

hmmm, my first (and only) thought is the htmltext-property ;-)

Like:

on mouseup
   put the htmltext of fld "fld with textstyle to be saved" into 
url"file:savedstyle.htm"
end mouseup

and back again with:

on mouseup
   set the htmltext of fld "fld with textstyle to be saved" to 
url"file:savedstyle.htm"
end mouseup


Hope this helps...

Regards

Klaus Major
klaus.major at metascape.org




More information about the metacard mailing list