Re: Naive question number 999
Richmond, Export the rtfText property to an RTF file. Even though it is buggy, it preserves most of the olours and styles. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com Submit your software products to http://www.quickestpublisher.com and get found! If you sent me an e-mail before 8th July and haven't got a reply yet, please send me a reminder. On 26 jul 2009, at 11:33, Richmond Mathewson wrote: My kids are making word-processors with revMedia 4 right now, and exporting to text Humpf: write to file works with Linux but doesn't seem to work on Mac, so having to put fld XXX into URL file: MyCrap.txt However the kids are, understandably, rather disappointed having produced PINK, ITALIC, GIANT, RIGHT ALIGNED text, to find that all that gets exported is bog-standard text and all the formatting is gone for a Burton. Please can someone point me in the right direction to export styled text? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Naive question number 999
Humpf; I will try to fool everybody that my slowness there was the result of coping with kids in a classroom setting: but, of course that is not true - entirely my own fault. Thanks for your pointer: just checked RTF in the Documentation and found this: put the RTFText of field Destination into URL myURL which looks rather exciting . . . Set up a stack with a field containing suitably garish text (orange, right aligned, size 48, disgusting font) and popped this in a button: on mouseUp put the RTFtext of fld FFF into URL file: FancyText.rtf end mouseUp NBG! Tried this: on mouseUp put the htmlText of fld FFF into URL file: FancyText.html end mouseUp because of this near the bottom of the Documentation bit about RTF: To export and re-import field information without losing any style information, use the htmlText property instead. NBG! This all on the trusty G4 war-horse. :) Decided not to contribute a slightly offensive note to the User-contributed notes in the Documentation until I can manage to export the flipping text the way it should be exported. Mark Schonewille wrote: Richmond, Export the rtfText property to an RTF file. Even though it is buggy, it preserves most of the olours and styles. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com Submit your software products to http://www.quickestpublisher.com and get found! If you sent me an e-mail before 8th July and haven't got a reply yet, please send me a reminder. On 26 jul 2009, at 11:33, Richmond Mathewson wrote: My kids are making word-processors with revMedia 4 right now, and exporting to text Humpf: write to file works with Linux but doesn't seem to work on Mac, so having to put fld XXX into URL file: MyCrap.txt However the kids are, understandably, rather disappointed having produced PINK, ITALIC, GIANT, RIGHT ALIGNED text, to find that all that gets exported is bog-standard text and all the formatting is gone for a Burton. Please can someone point me in the right direction to export styled text? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Naive question number 999
Interestingly enough while on mouseUp put the RTFtext of fld FFF into URL file: FancyText.rtf end mouseUp is completely useless; on mouseUp set the RTFtext of fld FFF to URL file: FancyText.rtf end mouseUp i.e. importing styled text works perfectly This: on mouseUp set the htmlText of fld FFF to URL file: FancyText.html end mouseUp is useless. All with revMedia 4a on the G4. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Naive question number 999
On Jul 26, 2009, at 6:45 AM, Richmond Mathewson wrote: on mouseUp set the htmlText of fld FFF to URL file: FancyText.html end mouseUp is useless. I figured it out, and maybe it's a problem, maybe it's not, Im not sure what the path conventions are for Rev. In the above example script, FancyText.html would be looked for next to where the stack is. In this case: on mouseUp put the htmlText of fld FFF into URL file: FancyText.html end mouseUp the file is created in the Revolution Media 4.0.0 folder. If you use your stack from the Revolution Media 4.0.0 folder, both scripts work fine. I suspect that in a real world case, you should use a full path to the file you are talking to. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Naive question number 999
Colin Holgate wrote: On Jul 26, 2009, at 6:45 AM, Richmond Mathewson wrote: on mouseUp set the htmlText of fld FFF to URL file: FancyText.html end mouseUp is useless. I figured it out, and maybe it's a problem, maybe it's not, Im not sure what the path conventions are for Rev. In the above example script, FancyText.html would be looked for next to where the stack is. In this case: on mouseUp put the htmlText of fld FFF into URL file: FancyText.html end mouseUp the file is created in the Revolution Media 4.0.0 folder. If you use your stack from the Revolution Media 4.0.0 folder, both scripts work fine. I suspect that in a real world case, you should use a full path to the file you are talking to. I had absolutely no problem finding the file as am well aware the default folder is where RR is. However the text styling was not maintained - that is what I meant by 'useless'. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Naive question number 999
On Jul 26, 2009, at 12:51 PM, Richmond Mathewson wrote: I had absolutely no problem finding the file as am well aware the default folder is where RR is. However the text styling was not maintained - that is what I meant by 'useless'. And what I said is that it works fine for me, including font, size, and color being retained, at least it does on my Mac. Did you understand what I was saying about how although the default folder for writing is the Rev folder, the default folder for reading isn't, it's next to the stack itself? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution