Step 1: Open Notepad
Step 2: The Code
Dim text, sapi
text=inputbox("enter text to be spoken")
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
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
Step 4: Execute Your File
In the input field enter something and click ok.
Congratulations! You just made your computer talk!
• 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.