export RTF as file?
revdan at danshafer.com
Wed Jan 19 21:59:06 CST 2005
Just for the sake of completeness, this works fine on OS X with Word,
TextEdit, and BBEdit.
On Jan 19, 2005, at 5:47 PM, Chipp Walters wrote:
> I'm having problems with my RTF export.
> Can someone please try this and tell me if they get any results?
> create a new stack
> create a fld and type some text into it: "hello world"
> create a button with the script:
> on mouseUp
> ask file "Save As:" with "Untitled.rtf"
> if it is empty then exit to top
> put it into tPath
> put the rtfText of fld 1 into tContents
> put tContents into URL ("file:" & tPath)
> end mouseUp
> Now, try and open the RTF file you just created. I'm getting nothing
> in WordPad on XP. I don't have Word on this machine (hate M$).
> I've tried binfile as well. Anyone having success exporting RTF files?
> thanks in advance,
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 1/17/2005
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the use-livecode