Ken, I tried your suggestion, but it doesn't do what I need it to do. It moved all of the text from field1 to field2. Selecting a chunk of the field doesn't work either. What I need to do is move a chunk of a single line of selected text from the field with the formatting intact.
Can this be done??? Thank you. Duane Poncy Original Message: > From: "Ken Ray" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Subject: RE: Rtf - formatted text question > Date: Wed, 4 Jun 2003 01:06:04 -0500 > Organization: Sons of Thunder Software > Reply-To: [EMAIL PROTECTED] > > Duane, > > Do you have to use RTF? The reason I ask is that the HTMLText manages > styles a lot better than RTF, and even if you use RTF for your import, > I'd use HTMLText to move styled data from one field to another: > > set the htmlText of fld 2 to the htmlText of fld 1 > > As to why semicolons are stripped in RTF import... I don't know. Any > chance you could use some other delimiter? > > Ken Ray > Sons of Thunder Software > Email: [EMAIL PROTECTED] > Web Site: http://www.sonsothunder.com/ > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of >> Duane Poncy >> Sent: Wednesday, June 04, 2003 12:27 AM >> To: [EMAIL PROTECTED] >> Subject: Rtf - formatted text question >> >> >> Hello, I hope somebody can help out a newbie. >> >> I am programming an English>Cherokee>English dictionary. Because I am >> very poor, I have to use the free edition of Revolution, so >> my code has >> to be tight. Here is my problem: I need to use character formatting >> in my definition field, but I can't figure out how to do that. >> >> My stack script: >> >> on preOpen >> set the rtfText of field "tsalagiData" to URL >> "file:TsalagitoEnglishTest.rtf" >> set itemDelimiter to tab >> repeat for each line thisLine in field "TsalagiData" >> put item 1 of thisLine & linefeed after field "wordlist" >> end repeat >> end preOpen >> >> --this puts my tab delimited rtf file into an invisible field >> "tsalagiData", then puts the first chunk (the english word) into the >> field "wordlist". This works fine, except that importing the >> rtf file, >> for some reason, strips out all of my semicolons, which I need for >> formatting (see below). >> >> My script for the field "wordlist": >> >> on mouseDown >> put the selectedText of field "wordlist" into field "EnglishWord" >> put word 2 of clickLine() into listLine >> select line listLine of field "TsalagiData" >> set itemDelimiter to tab >> put item 2 of the selectedText of field "TsalagiData" into field >> "TsalagiDefine" >> replace ";" with return in field "TsalagiDefine" >> end mouseDown >> >> This also works fine, except when (Item 2) is put in the field >> "TsalagiDefine" the character formatting is gone. (Item 1, >> used above, >> doesn't need formatting.) >> >> Is there any way to move rtf text from one field to another >> and retain >> the formatting? >> Why are my semicolons stripped when I import my rtf file? >> >> Thanks. >> >> >> Duane Poncy Duane Poncy visit Elohi Gadugi: poetry, software, Cherokee culture and Native American rights. http://dsaoregon.igc.org/tsalagi/ -------------------------------------------------------- Another world is not only possible, she is on her way. On a quiet day, I can hear her breathing. - Arundhati Roy --------------------------------------------------------- _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution