Sunday, August 15, 2010

Ever wondered how you can make Windows XP speak or talk the text that you type in? Its just an in-built function in Windows XP. You don't need Talk-It or other such softwares to make this happen. This is possible with notepad and some piece of VB script.

Make Your Windows Talk

Here are the steps that you need to follow to make XP Talk.

Step 1: Open a text file in notepad. (Go to Start->Run. Type in notepad and press OK)

Step 2: Copy the following code and paste it in your notepad file.

-------------------------------------------------------------------------------------

Dim msg, sapi

msg=InputBox("Enter your text","Talk it")

Set sapi=CreateObject("sapi.spvoice")

sapi.Speak msg

-------------------------------------------------------------------------------------
Step 3: Save the file with a (*.vbs) extension, it will create a VBScript File.

Step 4: Now on opening the file, it will prompt you to enter text. So Enter the required text and Press OK Button
Now you have to wait for 2 seconds for the voice to be heard. So please be patient and enjoy the funny voice that pops up!!

No comments:

Post a Comment