Step 1. Open a Notepad window and in it paste the following code:
Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg

Step 2. Now Save the file as tts.vbs or any other name you want but just remember that it must end with .vbs extension. It will create a VBScript File. Be sure that 'All files' is selected on 'Save as type'.

Step 3. After you open the file you will find that there is a text box. Enter your desired text here and press the OK button. After the OK button is pressed the text you entered will be read out to you.


Check it out and let me know if it worked.....!
1 comment:
I’m not an easy-to-please reader, but you’re interesting take on this topic has kept my attention. This is one of the best articles on this subject matter I have ever read. This is great material. landing page design
Post a Comment