How To Make Your Computer Talk In Batch/VBScript!


THANKS FOR 10 SUBS!

No software needed! All you need is good ol’ notepad and you’re good to go!

Code used for prerecorded messages:

Set sapi=Createobject(“sapi.spvoice”)
sapi.Speak (“Please subscribe to AstralWolf”)

*Change the text in the (” “) after sapi.Speak to change the words being said. Save as a .vbs file, use the start command in batch to run it.

Code used for real-time talking:

Set sapi=Createobject(“sapi.spvoice”)
talk= InputBox(“Enter text to be spoken”)
sapi.Speak talk

Interested in batch coding? Watch my playlist here:

Tags: computer talk, batch tutorial, vbs script computer talk, how to make your computer talk, coding in notepad, how to make a computer talk in batch, add voice effects in batch, computer talking, computer voice, VBScript