Convert Text to Speech

Monday 25 March 2013


1. open notepad and copy this
2. Dim msg, sapi msg=InputBox("Enter your text","Talk it") Set sapi=CreateObject ("sapi.spvoice") sapi.Speak msg '+-> Learn Programming <-+
3. Now save this file with any name with .vbs extension. This creates a VBscript file.

When you open this file, it prompts for text. Enter your text and click OK .Now you can hear it .. Enjoy .. !!


More Tricks

0 comments:

Post a Comment

 
Ohmm Page © 2013 | Created By Sundaresan Sridhar