Lars,
Try this or a slightly different variant:
set the htmlText of fld "txt4" to the htmlText of fld "txt1" & \
the htmlText of fld "txt2" & the htmlText of fld "txt4"
set the clipboardData["rtf"] to the rtfText of fld "txt4"
You'll need an additional field "txt4".
Best,
Mark
Op 31-03-10 15:04, Lars Brehmer schreef:
I am trying to use a script to put the text of three text fields into
the clipboardData and then manually paste it into a Word document and
keep the text formatting.
Field txt1 - font A Bold
Field txt2 - font B Regular
Field txt3 - font A Regular
If I copy and paste each of the 3 fields separately, the fonts and
formatting are retained.
But with this script;
set the clipboardData["rtf"] to the rtfText of fld "txt1" && the
rtfText of fld "txt2" && the rtfText of fld "txt3"
and then paste in the Word document, even when choosing "formatted
text" result in all three becoming font A Regular. I have tried the
same thing with htmlText and neither one works so far for me.
Is it possible to do what I am trying to do?
Cheers,
Lars
_______________________________________________
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