Vocola.net
Vocola 3.1 Function Library
Main Class
Namespaces Library ► Main
Functions commonly used in voice commands.
Remarks
This class contains many of the functions most commonly used in voice commands. Because Library.Main appears by default in Vocola's base $using set, most command writers omit the Main. prefix when calling these functions.

Note that Vocola's special forms If, Repeat, and Eval, are not documented in this class or elsewhere in the function library. These forms do use function call syntax but they are not true functions. See the online Vocola documentation for descriptions.

Functions
Function Description
HearCommand Executes a WSR command or Vocola command as if words were spoken.
InsertText Inserts text by sending keystrokes to the current application.
RunProgram Executes a program.
RunProgram Executes a program, with arguments.
RunProgram Executes a program, with arguments and termination condition.
RunProgram Executes a program, with arguments, termination condition, and working directory.
SendSystemKeys Sends keystrokes to an application by simulating keyboard events.
ShowMessage Displays a message in the WSR user interface panel.
ShowWarning Displays a warning message in the WSR user interface panel.
SwitchTo Activates a specified running application.
SwitchTo Activates a specified running application, with a specified timeout.
Wait Pauses command execution for a specified number of milliseconds.
WaitForWindow Pauses command execution until a specified window is the foreground window.
WaitForWindow Pauses command execution until a specified window is the foreground window, with a specified timeout.

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