21 June 2011

Make Your Computer To Speak Using This .VBS Code





Do you want to make your computer to speak the text which your typing. Here is the code...


  • Just go to notepad
  • Copy this below code exactly and paste it in notepad

Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg

  • Save that notepad file as anyfilename.vbs(e.g. Speak.vbs)
  • While saving the file just put (Save As Type: All Files) (Shown in image)




  • After saving, if you double click this file means
  • It will ask to type some text
  • Type some text in that bar
  • Now your computer will speak out that text



Be Brilliant Always!!!

Related Posts Plugin for WordPress, Blogger...
Twitter Delicious Facebook Digg Stumbleupon Favorites More