STEPS:
1)OPEN NOTEPAD
2)WRITE THE CODE GIVEN BELOW:
Dim Message, Speak
Message=InputBox("Enter text","waynehow.weebly.com")
Set Speak=CreateObject("sapi.spvoice")
Speak.Speak Message
3.) Click on File Menu, Save As, select All Types in Save as Type option, and save the file as Speak.vbs or "*.vbs".
4. )Double click on the saved file, a window will open like the one in the image. Enter some text in enter text column and click OK.
Now your Computer will speak / talk what you typed in Step 4. Try it yourself.
1)OPEN NOTEPAD
2)WRITE THE CODE GIVEN BELOW:
Dim Message, Speak
Message=InputBox("Enter text","waynehow.weebly.com")
Set Speak=CreateObject("sapi.spvoice")
Speak.Speak Message
3.) Click on File Menu, Save As, select All Types in Save as Type option, and save the file as Speak.vbs or "*.vbs".
4. )Double click on the saved file, a window will open like the one in the image. Enter some text in enter text column and click OK.
Now your Computer will speak / talk what you typed in Step 4. Try it yourself.