Hi Yves, Frank and Richard,
Frank D. Engel, Jr. wrote:create a field (it can be hidden), here I call it "xform": set the rtfText of field "xform" to txvariable put field "xform" into txvariable Note that this will cause you to lose all formatting. You can simplify it somewhat as follows: set the rtfText of field "xform" to URL ("File:"&pathtoRtfText) put field "xform" into txvariable
Tip: If the field you're using for converting text is on a card that isn't open you'll get a performance boost of about 80% for that operation.
or simply let the system do the work via the clipboard :-)
...
put URL ("File:"&pathtoRtfText) into txvariable
set the clipboarddata["rtf"] to txvariable
put the clipboarddata["text"] into txvariable
...:-)
Richard Gaskin Fourth World Media Corporation ___________________________________________________________ [EMAIL PROTECTED] http://www.FourthWorld.com
Best from sunny germany
Klaus Major [EMAIL PROTECTED] http://www.major-k.de
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
