Text-to-Speech Loop Behaves Oddly

Kurt Kaufman kkaufman at snet.net
Sun Apr 9 15:58:49 EDT 2006


on mouseUp
    put fld "maintext" into theText
    set the itemDelimiter to "."
    repeat with k = 1 to the number of items in theText
      put item k of theText into theSentence
      revspeak theSentence
wait until revIsSpeaking() is false --you need this
    end repeat
    set the itemDelimiter to ","
end mouseUp




Kurt










More information about the use-livecode mailing list