scripting challenge: Large/Smaller text size

Dick Kriesel dick.kriesel at
Sat Jul 2 18:30:21 EDT 2005

On 7/2/05 12:59 PM, "Richard Gaskin" <ambassador at> wrote:

> Anyone beat 157ms on a block of 20,000 words with 2,000 of them styled?

Applying the filter command might save some milliseconds.

>>   set the itemDelimiter to numToChar(28)
>>   repeat for each item i in tt
>>     if "font size=" is in i then

set the lineDelimiter to numToChar(28)
filter tt with "font size="
repeat for each line L in tt

Mark, would you try it on your data, and post the results, please?

-- Dick

More information about the Use-livecode mailing list