VERY IMPORTANT: A global variable named ΓÇ£theSpeechΓÇ¥ MUST be declared before TurnSpeechOn is called. For this reason, TurnSpeechOn is almost always called from a script, since it must be assured that ΓÇ£theSpeechΓÇ¥ exists, and a global variable cannot be declared from the Message box.
TurnSpeechOn should only be called once during an HyperCard session (unless balanced by a TurnSpeechOff command). One method of assuring that TurnSpeechOn is called correctly is to call it in an OpenStack handler and to call TurnSpeechOff in a CloseStack handler.
Another method involves the global variable ΓÇ£theSpeechΓÇ¥: if it is non-empty, then TurnSpeechOff has been called. Before any use of Macintalk, simply insert the following code beforehand (you can put this in your OpenStack Handler if desired):