revStopSpeech

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
revStopSpeech
Associationsspeech library
Summary

Halts a speech that was started with the revSpeak command.

Introduced2.0
OSmac, windows
Platformsdesktop, server
Example
revStopSpeech
if userCanHaltSpeech then revStopSpeech
RelatedGlossary: command, Standalone Application Settings, standalone application, LiveCode custom library
Command: revUnloadSpeech, revSpeak
Function: revIsSpeaking
Library: Speech library
Control Structure: function
Description

Use the revStopSpeech command to let the user interrupt a lengthy speech, or to stop a speech before it's finished.

You can use the revIsSpeaking function to determine whether there's currently a speech in progress.

Important: The revStopSpeech command is part of the Speech library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "Speech" library checkbox is checked.

Tagsmultimedia