Computer Tech

Full Version: Text to Speech
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is fun to mess with. Open notepad and copy this in.
Code:
do
StrText=("This is where you, type, your text!")
set ObjVoice = CreateObject("SAPI.SpVoice")
ObjVoice.Speak StrText
loop
Then save it as a .vbs, great for pranks. You can close it in task manager if you become annoyed.
Haha I like the use of a loop there. I knew about SAPI before but this is still good for those who didn't.

Edit: I like your sig. Assembly: You shoot yourself in the foot but first have to create the gun, the bullet, and your foot.
Excellent idea to addIdea.
I never get tired of these scripts.
Reference URL's