Charles, if you use 'binfile' to read and write the file, it should remain a .rtf.

So

put URL ("binfile:" & tFileName) into tRtfData
modify the data...
put tRtfData into URL ("binfile:" & tFileName)


Best,

Mark

On 26 Mar 2007, at 00:46, Charles Szasz wrote:

Thanks to Eric and everybody else, especially Sarah Reichelt, who help me with my scripting problem. The script now works but unfortunately the RTF template file becomes a text file when Rev saves it after replacing the placeholders for the data from a Rev file.


Charles Szasz
[EMAIL PROTECTED]



_______________________________________________
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


_______________________________________________
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