Exporting coloured text to HTML and RTF from 8.1.4

Richmond Mathewson richmondmathewson at gmail.com
Sun Jul 2 13:09:21 EDT 2017


setthehtmlTextoffld "fRESULT" ofcard "ATTIC" tothehtmlTextoffld 
"fRESULT" ofcard "DEVANAGARI"

I'm feeling a bit stupid.

Richmond.

On 7/2/17 8:02 pm, Richmond Mathewson wrote:
> Which did NOT work either . . . .
>
> Richmond.
>
> On 7/2/17 8:00 pm, Richmond Mathewson wrote:
>>
>>
>> On 7/2/17 7:56 pm, Richmond Mathewson wrote:
>>> The problem is quite different: and this only became clear when I 
>>> tested your script inwith my Devawriter Pro
>>> and outwith it in a simpler stack.
>>>
>>> The problem is that the text that becomes colourised is then moved 
>>> intil another field, and then is exported from
>>> that field; during the movement from the first field to the second 
>>> one its styling is lost:
>>>
>>> setthetextoffld "fRESULT" ofcard "ATTIC" tothetextoffld "fRESULT" 
>>> ofcard "DEVANAGARI"
>>>
>>> setthetextSizeoffld "fRESULT" ofcard "ATTIC" tothetextSizeoffld 
>>> "fRESULT" ofcard "DEVANAGARI"
>>>
>>> Presumably (?)  I will need a third line something like this:
>>>
>>> setthetextColoroffld "fRESULT" ofcard "ATTIC" tothetextColoroffld 
>>> "fRESULT" ofcard "DEVANAGARI"
>>>
>>> indeed, that is what I am about to try.
>>>
>>> Richmond.
>>>
>>
>> Which did NOT work.
>>
>> textStyle (?)
>>
>> R.
>>>
>>>
>>
>




More information about the use-livecode mailing list