Converting DVC Files

If you have created voice commands using the Dragon macro language you may want to jumpstart your repertoire of Vocola commands using the utility dvc2vcl.exe, found in the folder Vocola\Exec. Note: this utility is provided "as is". You are welcome to make improvements.

This utility converts many commands correctly, handling keystroke sequences, function calls, word arguments, lists, and lists with substitution. Most of my 200+ macros converted fine, with some manual cleanup required for the rest. If the utility cannot handle a particular command construct it is replaced with "[]" and the resulting command is commented out.

The utility takes two arguments -- an input folder containing Dragon voice command files (*.dvc), and an output folder to contain Vocola files (*.vcl). For example, the script might be invoked as follows (assuming Vocola is installed in C:\NatLink\Vocola and NatSpeak is installed in C:\NatSpeak):

    cd C:\NatLink\Vocola
    Exec\dvc2vcl C:\NatSpeak\Users\Rick\current Commands

Each .dvc file in the input folder C:\NatSpeak\Users\Rick\current is converted to one or more .vcl files, which are written to the output folder C:\NatLink\Vocola\Commands. Global commands are written to the file _vocola.vcl, and application-specific commands for an application named foo.exe are written to foo.vcl.

If you have added commands to the default Dragon command file global.dvc, you may want to make a copy of the file and delete the Dragon-supplied commands so that you only convert your own commands. There's no particular value in converting the Dragon-supplied commands to Vocola.

 
Copyright © 2002-2023 Rick Mohr