Command/Default Changing Instructions Version 6 PROFESSIONAL Only*

BIG IMPORTANT NOTE: only limited testing has been performed in NatProfessional Version 6 US English only- If you are using an earlier version, you may want to see this. Your mileage may be different - this may not work for you - be forewarned - following these instructions may damage your software, your hardware, your DNA, the position of the earth in orbit or even cause Gates' non-monopoly to grow.

The following instructions will allow you to change the phrase which you have to speak for most of the correction commands and changing the default font in DragonPad by altering the options.ini file.

A common example of where this feature is useful is in the case of the command "Correct That".  Some users complain that when they say "Correct That", the system selects the word "that" in their document and displays the Correction Dialog for that word, instead of displaying the Correction Dialog for the last word(s) they spoke.  To get around this problem, I recommend changing the command which brings up the Correction Dialog from "Correct That" to something different like "Fix That Please".

Additions can be made in the user options.ini file.  There may be two or more options.ini files for each voice file you have on your system.  You will want to make changes to the one that is in the "current" directory.  As an example, to change the command associated with the action "Correct That" do the following with Nat NOT loaded:
1)  Locate and open the options.ini file that is associated with the voice file you wish to make a change in the command.  As an example, here is the path/file to the options.ini file for one of my voice files named ROSE1:
c:\Program Files\Dragon\NaturallySpeaking\Users\Rose1\current\options.ini
2)  Go to the bottom of the document (you can press {Ctrl+End} to get there)
3)  Add the following on a line all by itself:
enx Correct That Command=Fix That Please

When you change any of the correction commands, you are changing it for only one user at a time - you must go through the exercise for each options.ini for each user.

The default font and font size can be changed in the options.ini.  As an example, to change to Times New Roman 14 pt, follow the above directions through step 2) then adding the following two lines:
enx Default font=Times New Roman
enx Default font size=280

The following table lists all the correction commands which you can change by adding the information to the options.ini file.  NOT ALL HAVE BEEN TESTED AS OF 1/11/02  The first column reflects the command name - the second column shows the current command that you speak and is the one that you may change.
 

Scratch That Command Scratch That
Cap That Command \Cap That
NOTE:  "\Cap" is the name of the word, you do not need to use a backslash if you replace this word.
Cap Selection Command \Cap Selection
NOTE: See comments for "\Cap That"
No Caps That Command \No-Caps That
NOTE: "\No-Caps" is the name of the word, if you replace this with a different word, do not use a backslash or a hyphen.
No Caps Selection Command \No-Caps Selection
NOTE: see comments for "\No-Cap That")
All Caps That Command \All-Caps That
NOTE: see comments for "\No-Cap That")
All Caps Selection Command \All-Caps Selection
NOTE: see comments for "\No-Cap That")
Compound That Command Compound That
Compound Selection Command Compound Selection
Hyphenate That Command Hyphenate That
Hyphenate Selection Command Hyphenate Selection
Select Again Command Select Again
Select XYZ Command Select %1
NOTE:The command must end in "%1" to work properly.  The "%1" will be replaced at run time with text from the screen.
Correct That Command  Correct That
Correct XYZ Command Correct %1
NOTE: see comments for "Select %1")
Press Button Click %1
NOTE: see comments for "Select %1")
EXAMPLE:  Press Button=Check %1
Please note that the word "Command" is not used in this one.
When replacing any of the correction commands, the change will not take effect until you restart Dragon NaturallySpeaking.

By convention, all commands in Dragon NaturallySpeaking are capitalized like book titles. You're not require to capitalize your commands; however, using capitalized commands makes them more obvious in the Results Box when they are recognized.  Some correction commands are spelled with either a leading backslash or a hyphen between the words.  If you use exactly the same words (like "\Cap") then you should use the same combination of backslashes and hyphens.  However, if you introduce your own correction words, do not include any backslash or hyphen characters as this will confuse Dragon NaturallySpeaking.

In some of the commands, the default value includes the string "%1".  If you replace these commands (like "Select %1"), then you must remember to include the string "%1" at the end or the command will not work properly.

Remember, these are hacks, if you screw up there is no error checking and the likely effect is that the command you change will not work properly.  YOU DID MAKE A COPY OF YOUR OPTIONS.INI FILE BEFORE STARTING DIDN'T YOU????

These instructions were originally written by Joel Gould of Dragon Systems for Dragon NaturallySpeaking v. 1 and 2.02 and were designed to "hack" the Registry.  Version 3.52 does not use the Registry for this kind of information, instead uses .ini files but Joel's basic instructions needed only a little rewrite.  Thanks go to Uday Reddy and Larry "the brave" Allen for helping to work this out and especially to Larry Rosenthal for posing the question that started this to begin with.  There are, no doubt, other Commands that have been added in 3.52 that should be part of this list.  Thanks to Judy Evans for suggesting the correct syntax for the Press Button in version 4.0.  If you find additions or corrections that need to be made  in any of this, please send me an email. Rose
Back to Top
Back to Diagnosing Dragon's Problems