Windows Guides Feed

italian fireplace talk to me1 Get Your Computer to Say What You Type [How To] [Updated]

XP, Vista, 7, and Windows 8 come with a built in voice database, which you can access via the Microsoft SAPI (Speech Application Programming Interface); in this guide, you’ll learn how to get your computer to say what you type using one of three methods.

Speak to Me!

(Method 1) The easiest way to access this feature is through the Windows speech settings. If you’d like quick access, there’s also a script you can use to access the SAPI via Visual Basic (see below)

  1. Press Start, type speech and click change text to speech settings
  2. Type what you want said in the preview pane and click Preview Voice
  3. Optional: Change the voice (options vary by operating system)

speech settings1 Get Your Computer to Say What You Type [How To] [Updated]

Method 2: Use a Quick Access Visual Basic Script

  1. Copy the following text and paste it into Notepad (Windows Key, type notepad, press Enter)

CreateObject("sapi.spvoice").Speak(InputBox("Speak:"))

Thanks to Jon Davis for the condensed script.

  1. Save the file as speak.vbs
  2. Double-click on speak.vbs, type in your message, and press Enter

windows speech01 Get Your Computer to Say What You Type [How To] [Updated]

Have fun and be creative; you can have your computer greet you at login, for example. Having trouble with the script? See below for help.

Method 3: Use a Tool

If you’d rather skip the script, you can download the Windows Guides text to speech tool for quick access.

Help!

If the script didn’t work:

  1. Your browser may display quotation marks in a different character set. Go back to the Notepad file and replace all the quotes [ " ] using your keyboard. Save the file and try again.

speech error Get Your Computer to Say What You Type [How To] [Updated]

  1. If the script is error free but it’s still not working, you do not have the SAPI installed on your computer. Download download the SDK and SAPI here


 Get Your Computer to Say What You Type [How To] [Updated]

About Rich

Rich is the owner and creator of Windows Guides; he spends his time breaking things on his PC so he can write how-to guides to fix the problems he creates.

Free PC tips by email

Search Windows Guides




Comments

  • Sasi Prabath

    this is female sound , i want to male sound, how do it

  • 4tyrtyhrt_ex

    this works! i do it in class to get the teacher mad. haha so funny

  • Deependra

    it is working but how you written this program????

  • Ghana Kumaran

    Awrsome….

  • http://darkangelights2009.tumblr.com/ darkangelights

    It works but why does it keep leaving? how to make it stay without needing to keep clicking on it?


Computer tips in your inbox
Sign up for the Windows Guides newsletter to get PC tips and access to free Windows books (More details)

Enter your email address:
 

Popular Guides

See which sites have been visited on your PC (even if private browsing mode is used)

Create a Windows 7 System Repair Disc

Best Free Anti-malware

Hibernate vs. Sleep vs. Shut-Down

i3, i5, and i7; Dual, Quad, Hexa Core Processors. How to they Differ?

Intel's Ivy Bridge Processor: new Features

Submit Your Tip
Submit your computer tip to us; receive full credit for all published tips

Windows Guides on Facebook