Make Windows Talk To You

This tip may not have much practical use for day-to-day Windows home users, except for impressing your kids or playing a prank, but for software developers, the use of the Microsoft Speech API can be pretty useful, to make their applications speak out if necessary. The Microsoft Speech API is built into the Windows operating system, and is used in speech recognition and text-to-speech, making speech technology more accessible and robust for a wide range of Windows applications.

Make Windows Talk

To make your Windows 8 computer talk to you, open a Notepad and paste the following code in it:

Dim message, sapi          
message=InputBox("Enter the text you want read","Read This")          
Set sapi=CreateObject("sapi.spvoice")          
sapi.Speak message

Give it a name say, Read This.vbs and select All Files for the Save as type and Save it.

Now when you click open this VB Script file, you will see the following box. You can enter your text in the input space and click on OK.

There is a however limit of around 130 characters. Beyond that, the message will be cut off.

read this vb 600x236 Make Windows Talk To You

Your Windows will now read out to you, the text you pasted. If you are using Windows 8, you will probably hear Microsoft David talk. If you are using Windows 7 or Windows Vista, it would have to be Microsoft Anna.

Using the same feature, you can also make Microsoft Outlook read out emails for you. Not only MS Outlook, but you can make other applications in MS Office read out the selected text with just one click.

Hope you enjoyed this trick.

You might want to check out these posts too!

  1. Make Windows Welcome you With an Audio Voice Message During Logon
  2. Make Windows 8 speak out the time every hour
  3. VBScript Pranks to play on a Windows PC.
Posted by on , in Category Windows with Tags
Anand Khanse aka HappyAndyK is an end-user Windows enthusiast, a Microsoft MVP in Windows, since 2006, and the Admin of TheWindowsClub.com. Please create a System Restore Point before trying out any software & be careful about any third-party offers while installing freeware. Add me on Google+.
  • http://www.mstechpages.com/ Dustin Harper

    A new voice?! I have done with with XP & 7, but wasn’t aware it would be a new voice in Windows 8! Thanks for the tip. I remember trying to use the voices in Windows 7 for a home automation project, but it didn’t really pan out (scripted events).

  • http://www.thewindowsclub.com Anand Khanse

    Yes, in Windows 8, Microsoft David is a ‘US male’ voice, Microsoft Hazel is a ‘UK female’ voice, and Microsoft Zira is a ‘US female’ voice.

  • thuya199

    Anna doesn’t read the whole article.How to make Anna read the whole article?

  • http://www.thewindowsclub.com Anand Khanse
  • Recent Comments