Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create VBS script to make machine talk (Conversations)

Status
Not open for further replies.

Steve_Dev

Systems Engineer
Mar 29, 2018
1
GB
I have started to write a vbs script for machine communications and I have attached this file to this query. 95% of this script has been created from scratch with various responses, when I run the script it only talks when I close the input file down and not when I input data (expecting voice response).
I am not asking anyone to write the code for me but if you can point out where my errors are that would be appreciated.
 
 http://files.engineering.com/getfile.aspx?folder=c7934a2e-06f4-453c-b1e7-0166b0c8e284&file=ai.vbs
Some quick notes... None of the code below the Loop statement is being executed. You probably want the Loop statement at the bottom of the script. Also it looks like you putting the text to be spoken in a variable called "response", but nowhere do I see something like [tt]sapi.speak response[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top