" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Text-To-Speech in VBS

Posted on November 23rd, 2015 by Hemant Mishra

This tip demonstrates how to use SAPI for Text-To-Speech capability in VB Script   BlankDim message,sapi message=InputBox(“Write something in textbox”,”Hemant :)”) set sapi = CreateObject(“sapi.spvoice”) sapi.Speak message   copy this code to notepad and save it .vbs extension(for e.g. hemant.vbs) After making a vbs file just double click on that file and type anything you […]