Modifies specified text in recently-dictated phrases.

ReplaceInActiveText(oldText, newText)

- oldText
- Text that should be replaced.
- newText
- Replacement text.

This function replaces the most recent occurrence of oldText with newText in active dictation. Active dictation contains all phrases dictated since the last command,
possibly separated by pauses.


Cap <_vocolaDictation> = Dictation.ReplaceInActiveText($1, String.Capitalize($1));
The special variable <_vocolaDictation> matches any series of words in active dictation. Those words are then capitalized using Capitalize, and both the original and capitalized versions are passed to ReplaceInActiveText.
Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)