January 2006
Beginner
592 pages
16h 55m
English
say
text-to-speech
Reads text aloud, either in real time or saving the synthesized speech as a sound file. Can also be used in conjunction with speech recognition to determine what text appears below the microphone window .
tell application "SpeechRecognitionServer"
set s to listen for {"yes", "no"} with prompt "Would you like me to beep?" ¬
giving up after 10
end tell
if s is "yes" then
say "Okay, I will beep now." displaying "Okay."
beep
else
say "Okay, then I won't." displaying "Okay."
end ifRead now
Unlock full access