Vocola.net
Vocola 3.1 Function Library
OpenCurrentSamples()
Namespaces LibraryCommandFile ► OpenCurrentSamples
Opens the installed file of sample Vocola commands for the currently-active application.
Syntax
OpenCurrentSamples()
Remarks
The Vocola installation includes a folder called CommandSamples, containing sample command files for common applications. This function opens the sample command file for the currently-active application.

If the command file does not exist, this function aborts the calling command and displays an error message in the Vocola Log window.

The file will be opened using the program associated with the .vcl extension in Windows Explorer, unless a different program has been specified using SetCommandLineForOpen.

Examples
CopyEdit sample commands
Edit Sample [Voice] Commands = CommandFile.OpenCurrentSamples();
If Microsoft Word is active, saying "Edit Sample Commands" opens the file winword.vcl from the CommandSamples folder in the Vocola installation folder.

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

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