How to make talk program in batch file
Hello Friends,
I need to know about how to make talk program in batch file, that will speak the text that is entered. Please do provide the batch file coding for that.
Thanks in Advance,
Otis Hartwell
Hello Friends,
I need to know about how to make talk program in batch file, that will speak the text that is entered. Please do provide the batch file coding for that.
Thanks in Advance,
Otis Hartwell
Hello Otis Hartwell,
Here is the solution and it is quite simple:
1. Open notepad;
2. Copy the code below in your notepad;
3. Save the file with the .vbs extension.
Here goes the code:
StrText=("Here goes what you will hear")
set ObjVoice = CreateObject("SAPI.SpVoice")
ObjVoice.Speak StrText
PS: All you have to do is to change the Here goes what you will hear with any words you want to hear from your computer.
Take care!