Tuesday, April 17, 2012

Hear your computer's voice with .vbs


Vbs is is a active scripting language developed by Microsoft. All the windows operating systems from windows 98 to windows 10 includes this. By using .vbs file we can make our computer say something which we type inside a notepad. It is only a very simple way of using this scripting language.

Just try this out



1. Open a notepad.
2. Type this inside it. you can change, what is inside the quotation marks. (I want to travel around the world)

CreateObject("SAPI.SpVoice").Speak"i want to travel around the world"



3.Now save this as anything.vbs. you can use any name with .vbs extension.
4.Now double click on it and listen :D

Is the voice good, guys ?