Never mind. I found the function revIsSpeaking which when put inside
the loop in the construct "wait until revIsSpeaking() is false"
pauses the loop for each phrase to be spoken.
On Apr 9, 2006, at 3:48 PM, Iden Rosenthal wrote:
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
_______________________________________________
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