Vocola.net
Vocola 3.1 Function Library
ReplaceWithAlternate()
Namespaces LibraryDictation ► ReplaceWithAlternate
Replace the just-dictated phrase with the best-guess alternate.
Syntax
ReplaceWithAlternate()
Remarks
This function replaces the just-dictated phrase with the best-guess alternate by first sending enough "backspace" keystrokes to remove it, and then sending the alternate keystrokes. It will not work correctly if the insertion point has moved from the end of the just-dictated phrase.

Successive calls to this function retrieve successive alternates.

If the Vocola dictation stack is empty, this function does nothing.

Examples
Copy"Quick fix" correction
Try Again = Dictation.ReplaceWithAlternate();
Sometimes you just know that the speech engine's best-guess alternate is the right one, and you want to try it without the overhead of raising the correction panel.

This is one of Vocola's built-in commands.

Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)