export RTF as file?

Glen Bojsza gbojsza at gmail.com
Wed Jan 19 20:58:28 EST 2005


In Notepad it works

{\rtf\ansi 
hello baby}

In Word it works

hello baby


Glen

On Wed, 19 Jan 2005 17:47:44 -0800, Chipp Walters <chipp at chipp.com> 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,
> 
> Chipp
> 
> --
> 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
> http://lists.runrev.com/mailman/listinfo/use-revolution
>


More information about the use-livecode mailing list