Vocola Information Pages   by Rick Mohr   (last modified February 18, 2002)

 Introduction
 Using Vocola
 Language Tutorial
 Download Vocola
 Install Vocola
->  Converting DVC Files
 Troubleshooting
 Support
 Wish List
 My RSI Story
 

Converting DVC Files

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 Perl script dvc2vcl.pl, 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
perl Exec\dvc2vcl.pl 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.


This page is (c) Copyright 2002 by Rick Mohr, and was last modified on February 18, 2002.