Text-to-speech

Talk:
   FileDelete, %A_ScriptDir%\SpeechMe.vbs
   FileAppend, Dim voic `n, %A_ScriptDir%\SpeechMe.vbs
   FileAppend, Set voic = WScript.CreateObject("SAPI.SpVoice")`n, %A_ScriptDir%\SpeechMe.vbs
   FileAppend, Set voic.voice = voic.GetVoices("", "Language=809").Item(0)`n, %A_ScriptDir%\SpeechMe.vbs
   FileAppend, voic.Speak("%Say%")`n, %A_ScriptDir%\SpeechMe.vbs
   FileAppend, Set voic = nothing`n, %A_ScriptDir%\SpeechMe.vbs
   Run, WSCRIPT.EXE "%A_ScriptDir%\SpeechMe.vbs",,, WSCRIPT_PID
return

 
snippets/autohotkey/tts.txt · Last modified: 2009-02-03 22:03.28 by mbirth
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki Contents powered by Club-Mate Contents powered by BassDrive.com Labelled with ICRA