Trouble with script

Mark Smith mark at maseurope.net
Sun Mar 25 20:49:11 EDT 2007


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
> cszasz at mac.com
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list