Mac OS X Reference Library Apple Developer Connection spyglass button

Version: 1.1

Posted: 2007-06-25

Build Requirements: Mac OS X 10.4 or later

Runtime Requirements: Mac OS X 10.4 or later

View Source Code:

Download Sample Code (“Voices.zip”, 49.9K)



Description

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

Document Revision History

Date Notes
2007-06-25Rearranged to encourage asynchronous widget.system usage
Did this document help you? Yes It's good, but... Not helpful...