Maybe it's simpletext the problem. Try opening it with Word. If you open it with BBEdit, you should see the codes...
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Tuesday, October 19, 2004 12:31 > To: [EMAIL PROTECTED] > Subject: Re: RTF File export > > Hello Klaus! > > Thank you but I'm sorry, I don't understand. > > With this code: > -------------- > put cheminresultat &fichieracreer into fichierexport > > set the fileType to "ttxtRTF " -- text file owned by SimpleText app > > open file fichierexport for text update > > write THE RTFTEXT OF FLD "POUREXPORT" of card 2 of > stack"cukydata" to file fichierexport at "EOF" > > close file fichierexport > ----------------- > > I have an RTF file in my finder, but when I open it, the bold > and the font is not saved. > > Bouhouhou....... > > > Le 19 oct. 04, à 12:20, Klaus Major a écrit : > > > Bon jour François, > > > >> Hello everybody! > >> > >> I want to export a fld (pourexport) into an RTF file (to save the > >> style and the font) > >> > >> I have this code > >> > >> put cheminresultat &fichieràcréer into fichierexport open file > >> fichierexport for text update write THE RTFTEXT OF FLD > "POUREXPORT" > >> of card 2 of stack"cukydata" > >> to file fichierexport at "EOF" > >> close file fichierexport > >> > >> And my file is always TXT file. > >> > >> Why please? > > > > I suppose you are working on a mac? Right :-) > > > > If you write something to a file the resulting file will > always have > > TEXT as the -> filetype, UNLESS you set the filetype BEFORE you are > > writing that file... > > > > Please remember, ONLY the filetype is TEXT, but the content of the > > file is actually RTF-code! > > > > Read: the file only LOOKS liek a text-file to the finder! > > But we developers cannot be fooled this easy ;-) > > > > As long as noone tries to DOUBLECLICK the file in the > finder, no need > > to worry :-) > > > >> Thank you for your answer. > >> > >> Friendly > >> François > > > > Au revoir, mon ami... > > > > Klaus Major > > [EMAIL PROTECTED] > > http://www.major-k.de > > > > _______________________________________________ > > use-revolution mailing list > > [EMAIL PROTECTED] > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > ------------------ > François Cuneo > Cuk.ch http://www.cuk.ch > Site web dédié au Macintosh > [EMAIL PROTECTED] > > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution > ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution