Make your PC talk

August 2017




Issue


I want to know how to make my computer talk like in movies ?

Solution

  • Open a text file in notepad and write:


Dim msg, sapi 
msg=InputBox("Enter your text","Talk it") 
Set sapi=CreateObject("sapi.spvoice") 
sapi.Speak msg 
  • Save the file with a (*.vbs) extension, it will create a VBScript File.
  • It will prompt you for a text when u open the file, input the text and press ok."
  • You will hear what you typed. This works in XP and may be in Vista also.

Related


Published by aakai1056. Latest update on June 8, 2010 at 09:08 AM by aakai1056.
This document, titled "Make your PC talk," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).