Saturday, November 19, 2011
If you are using a Windows Machine (Windows XP or above), then you will be glad to hear that a simple one line command can easily convert your text to speech for you, which you can use to read out your lengthy emails, etc, without even the need of download or installing any software!
To get started, all you have to do is type the following command and paste it into a notepad file.
CreateObject("SAPI.SpVoice").Speak“Your Text here”
You have to replace the “Your Text Here” with your own text. You can even paste a page within the inverted quotes, and all this command does is read it out to you.
Next, you need to save the file as “anything.vbs” (where anything=any thing of your choice).
In case you are not able to do that, here are the screenshots [Click to enlarge]:
Many articles on the internet point out to this method and ask you to type this and run it, to check whether your computer is a male or female. Actually, all Windows XP computers get a male voice, whereas Windows Vista and Windows 7 users get a female voice. This is due to Microsoft’s speech-to-text engine, which was Sam in XP and Anna in Vista and 7.
Hope this helped you!