Voices

Last Revision:
Version 1.1, 2007-06-25
Rearranged to encourage asynchronous widget.system usage
(Full Revision History)
Build Requirements:
Mac OS X 10.4 or later
Runtime Requirements:
Mac OS X 10.4 or later

This sample widget speaks the text typed into its text field using the widget.system command. Two different approaches are included: one which calls widget.system in a synchronous (blocking) fashion, the other in an asynchronous (non-blocking) fashion. Note that in the synchronous example, all user interaction is halted while speech is performed. The asynchronous example is an updated version of the widget found in /Developer/Examples/Dashboard on Mac OS X 10.4