Thread: Speech
View Single Post
Old 01-25-2003   #1 (permalink)
Deaper
Registered Member
 
Join Date: Nov 2002
Posts: 6
Speech

Ok I'm not going to post my entire script because my script is a combination of several scripts so it'd get confusing. But I will post a little info on this.

Insert this code at the beginning of the script:
Code:
Dim TTSControl
Set TTSControl = CreateObject("Speech.VoiceText")
TTSControl.Register "", nameScript

Function TTS (whattosay)
TTSControl.Speak whattosay, 1
End Function
(This is for VBS scripts only by the way.)

Now in the rest of your code all you need to do to make it talk is put the line
tts "Stuff you want to be annoyed by here"

If you can't get this to work you most likely don't have the Microsoft SAPI installed get that http://activex.microsoft.com/activex...pi/spchapi.exe


This isn't really very useful at the moment for anything but annoying the crap out of you. But when future versions of netstumbler come out hopefully the OnScanResult event will be working and this script will make it possible to give you the name and other attributes whenever a new SSID is found.

I am in no way responsible for insanity caused by annoying computer voices.
Deaper is offline   Reply With Quote