Talking book Scripts
Roger.E.Eller at sealedair.com
Roger.E.Eller at sealedair.com
Wed Sep 14 10:02:55 EDT 2005
> I want the text to highlight word by word as the text is read.
Using the script below, each word is hilited and spoken, however the
speech sounds unnatural because it doesn't flow as a sentence should. But
at least it is a start. I hope this helps.
on mouseUp
repeat with i = 1 to the number of words of fld 1
select word i of fld 1
revSpeak the selection
wait 20 millisecs
wait until revIsSpeaking() is false
end repeat
end mouseUp
Roger Eller <roger.e.eller at sealedair.com>
More information about the use-livecode
mailing list