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.

make windows talk

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 is the Admin of TheWindowsClub.com, an end-user Windows enthusiast, & a 10-year Microsoft MVP Awardee in Windows for the period 2006-16. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.