Step 1. Open Notepad In Your Computer
Step 2. Copy and Paste The Exact code given below.
Dim text, sapi
text=inputbox("enter text to be spoken")
Set sapi=Createobject("sapi.spvoice")
sapi.Speak text
Step 3. Click on File menu, Save As, All Types in Save Type Option, and the file as Name.vbs or "*.vbs".
Step 4. Double Click on the saved file, a window will openlike the one inthe image. enter some text in enter text column and click ok. Try it Yourself
Window Compatibility : This VBS file can be excuted on all version of Window XP, Window Vista, Windows 7 , Windows 8, 8.1, Windows 10
Post a Comment