The following is the script of my button. The idea is to read some text from a field and then say it back sentence by sentence. When I put the debugger on and step through the script it reads it properly. But when I don't have a breakpoint in the script it just reads the last sentence in the field.

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
  end repeat
  set the itemDelimiter to ","
end mouseUp
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to