Wednesday, January 22, 2014

Make your Computer Talk



  • Open Notepad
  • Copy and paste the exact code given below.

          Dim Message, Speak
          Message=InputBox("Enter text","Speak Hiren Chavda")
          Set Speak=CreateObject("sapi.spvoice")
          Speak.Speak Message
 
 
 

  • Click on File Menu, Save As, select All Types in Save as Type option, and save the file as hdk.vbs.

  • Double click on the saved file, a window will open like the one in the image. Enter some text in enter text column and click OK.


 
  • Now your Computer will speak / talk what you typed in Step 4. Try it yourself. 
  • Windows Compatibility: This VBS file can be executed on all versions of Windows including Windows XP, Windows Vista, Windows 7 and Windows 8.



No comments:

Post a Comment

Note: Only a member of this blog may post a comment.