In the cryptography thread created by vdude I wrote an extremely simply ahk script to make it so that I type in rot13. That got me thinks about what else I could do, so I started searching and I found the script bellow on the ahk forum. It allows you to type something and then your computer says it. I'm new to coding and I was wondering how it worked. Any help would be greatly appreciated. Thanks
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
P.S. Those of you not familiar with ahk, its a simple scripting language aimed at creating macros and the such. Heres a
link to the site.