Nuance Management Center

Table Of Contents
Chapter 13: Working with Custom Commands
Using the MyCommands Protection Utility
In Dragon Group, you can protect custom Text-and-Graphics, Step-by-Step, Macro Recorder, and Advanced Scripting
commands by exporting them into a .dat file, and then running the MyCommands Protection Utility included in your
Dragon installation. After they are imported to the Dragon client, users can use the commands, but cannot view or edit
their source code or re-export the commands. As a result, the integrity of the commands remains intact.
To protect the commands in a .dat file:
1. Make a backup copy of the unprotected .dat file and store it in a secure location.
When you protect the .dat file that you are distributing, you cannot make the file available for editing again.
2. Open a command prompt.
3. Change directories to the Program folder inside your installation directory. By default:
C:\Program Files\Nuance\NaturallySpeaking14\Program
4. Enter the following on the command line:
protectcmds.exe <dat-file-path> <vendor-name> [<vendor-contact-info>]
If a user attempts to view, copy, or edit commands from a protected file, the following message appears:
The command was protected by <vendor-name>.
Please contact <vendor-contact-info> for more information.
In the Command Browser, the same message appears as the Preview Content in Script mode.
When you have protected the file, you can place it in the Data Distribution directory for distribution to multiple user
profiles, and then use the nsadmin command line tool. For more information, see the nsadmin Help file available in
the Help folder of your installation directory (by default, C:\Program Files\Nuance\Nat-
urallySpeaking14\Help).
To distribute commands in the NMC console, see “Working with Command Sets in the Nuance Management Server
Administrator Guide.
80