GWKB1007 : The Window-Eyes API
Product: Window-EyesAuthor: Aaron Smith
Date Added: 09/20/2005
Last Modified: 09/20/2005
Window-Eyes has the ability to communicate directly with applications by using an Application Programming Interface (API) called GWSpeak.Speak.
The following example demonstrates the use of the Window-Eyes GWSpeak.Speak API using VBScript:
Sub StartSpeaking()
Set myobject = CreateObject("GWSpeak.Speak")
myobject.SpeakString ("This is the text you want to speak")
End Sub
GWSpeak.Speak has one other method, Silence. That method makes Window-Eyes stop speaking:
Sub StopSpeaking()
Set myobject = CreateObject("GWSpeak.Speak")
myobject.Silence
End Sub
NOTE: Window-Eyes must be installed and running in order for GWSpeak.Speak to function correctly.
Read more about developing with Window-Eyes on the GW Micro Developers page.