This is a very brief written and video tutorial on how to quickly access Microsoft's Speach Application Programming Interface (Speach API / SAPI) - a speach capability application hidden deep within most versions ofMicrosoft Windows.
STEP 1 - HIGHLIGHT AND COPY THE TEXT BELOW
Dim message, sapi
message=InputBox("What do you want me to say?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message |
STEP 2 - PASTE THE TEXT ONTO A NEW NOTEPAD DOCUMENT
Create a new notepad document and paste the text onto it
STEP 3 - SAVE THE NOTEPAD DOCUMENT AS A .VBS DOCUMENT
Name the new document anything you want to but be sure to save it as a .vbs document.
For example - save as > speach.vbs
STEP 4 - RUN THE .VBS DOCUMENT
Double click the vbs document to run the Speach API.
Simply type the text you want it to say and hit enter.
|