Introduction: Make Your Computer Talk

About: App Developer, Programmer, Gamer

Step 1: Open Notepad

Open up Notepad on your windows xp, windows 7, or windows 8 computer.

Step 2: The Code

Type this into Notepad:

Dim text, sapi
text=inputbox("enter text to be spoken")
Set sapi=Createobject("sapi.spvoice")
sapi.Speak text

Now what does this mean?
-When you execute this script it first creates a input box which is recognized as "text".
-Then the script sets up the sapi so we can now use it (this what will speak)
-Lastly it takes what was typed into input box "text" and sends it to the sapi to be spoken.

Step 3: Save Your File

Now you need to save your file.

First Click file>save as...

Next choose any file name but be sure to put .vbs afterwards. Ex. Filename.vbs

Then be sure to click next to Save as type: and then in the drop down menu click All Files

Click save.

Step 4: Execute Your File

The last step is to locate where you saved your file and double click it.

In the input field enter something and click ok.

Congratulations! You just made your computer talk!

Other notes:
• this is written in a Visual Basic scripting language (vbs)
• this only works with windows xp and higher
• if your having trouble or have questions feel free to ask me in the comments.