Install Vocola
Install Vocola
Use the following instructions for your first installation of
Vocola.
Or, see below to upgrade from an earlier version
of Vocola.
Installing Vocola for the first time
- Install
Dragon NaturallySpeaking,
version 3.5 or later, any edition, if not already installed.
- Install Python if
not already installed. Version 2.3 is recommended, with 2.0 and
2.2 also supported. Earlier and later versions are not currently
supported.
- Install NatLink. Choose from one of two methods:
- Install Vocola if you did not use the installer:
- Download the relevant Vocola
zip file.
- Locate where NatLink is installed. You're looking for a
directory named NatLink containing a subdirectory
named MacroSystem. Most likely C:\NatLink
or C:\Program Files\NatLink.
- Exit Dragon NaturallySpeaking if it is running.
- Extract the Vocola zip file into the NatLink directory. For
example, if NatLink is installed in C:\NatLink, you
should choose C:\NatLink as the folder to extract
to. After unpacking you should see folder
NatLink\Vocola, with subfolders Commands,
Doc, Exec, Samples, and possibly
Simpscrp.
- From the Vocola\Exec folder copy the files
_vocola_main.py and VocolaUtils.py to
the NatLink\MacroSystem folder.
Copying these files activates Vocola's built-in voice commands.
- Start Dragon NaturallySpeaking.
- Associate the .vcl file extension (used for Vocola
command files) with your favorite text editor. This allows you to
open your Vocola files using built-in voice commands. An easy way
to set up this association is to right-click on any .vcl
file (such as Vocola\Samples\notepad.vcl), select "Open
With" or "Open", and pick your favorite text editor (for
example, Notepad).
Note that Scott's installer associates the .vcl file
extension with the free editor Notepad2,
which it also installs.
Emacs users should install
gnuserv and associate the .vcl file extension with
gnuclientw.exe. (Make sure the directory containing
gnuclientw.exe is included in your PATH environment
variable.)
- Test Vocola.
- Copy the sample command file for Notepad
(Vocola\Samples\notepad.vcl) to the
<My Documents>\NatLink\Vocola folder if using
the installer under pre-Vista; otherwise, use the
Vocola\Commands folder.
- Say "Start Notepad" to launch Notepad.
- Say "Test Simple Command". The phrase "It works!" should appear.
- Say "Edit Voice Commands". Your copy of notepad.vcl
should be opened using the editor you picked in step 5.
- Change the "Test Simple Command" command to type "It really
works!"
- Save the file, say "Switch to Notepad", and say "Test Simple
Command". "It really works!" should appear.
Upgrading from an Earlier Version
of Vocola
- Locate where NatLink is installed. You're looking for a
directory named NatLink containing a subdirectory
named MacroSystem. Most likely C:\NatLink
or C:\Program Files\NatLink. These instructions
will refer to that directory by
<NatLink>.
- Make a backup copy of your command files (located in
<NatLink>\Vocola\Commands and possibly <My
Documents>\NatLink\Vocola as well).
- Update your version of NatLink if
desired. This may upgrade or degrade your version of Vocola. If
this results in your desired version of Vocola, stop as you are
done. Note that some earlier versions of the installer may not
permit independent upgrades of Vocola because they automatically
"repair" any changed files by reverting them when you start
Dragon NaturallySpeaking. Also, only versions of Vocola after 2.5.5
may be used to update installer installations.
- Rename <NatLink>\Vocola to
<NatLink>\Vocola.old. (Remove
<NatLink>\Vocola.old
first if it already exists.)
- Download the relevant Vocola
zip file.
- Exit Dragon NaturallySpeaking if it is running.
- Extract the Vocola zip file into <NatLink>. For
example, if NatLink is installed in C:\NatLink, you
should choose C:\NatLink as the folder to extract
to. After unpacking you should see folder
<NatLink>\Vocola, with subfolders Commands,
Doc, Exec, Samples, and possibly
Simpscrp.
- From the <NatLink>\Vocola\Exec folder, copy the file
_vocola_main.py to the <NatLink>\MacroSystem
folder.
- From the <NatLink>\Vocola\Exec folder, copy the file
VocolaUtils.py to the
<NatLink>\MacroSystem\Core folder if it exists or
<NatLink>\MacroSystem if it doesn't. Both this copy
and that of step 8 should replace existing files.
- Copy all files from <NatLink>\Vocola.old\Commands to
<NatLink>\Vocola\Commands.
- Restart Dragon NaturallySpeaking
|