
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