11.5

Table Of Contents
Dragon Administrator Guide version 11.5
Using Structured Commands
Dragon Medical Practice Edition, Dragon NaturallySpeaking Professional, Dragon Medical, and Dragon
Legal include an extension to Text-and-Graphics commands that let you to set the values of var-
iables in text blocks based on voice input.
You can create simple Text-and-Graphics commands with variables in the
My Commands
Editor
without having to do extensive programming in Microsoft
®
VBA.
Application states
Structured commands let you control the action of a command based on the state of the appli-
cation. For example, if you assign a state to each field in a form, the same command can perform
different actions depending on which field is activated.
You can use
Advanced Scripting
methods to control the states within structured commands or
to set the initial state from a non-structured command. You can also create structured commands
that prompt the user to select values from a predefined list.
When the user speaks a command, the user is presented with a list of pre-defined values for the
command. Once the user selects a value, the value is inserted into the correct location in the cus-
tom command.
Samples
Dragon includes several sample Text-and-Graphics commands with variables and sample structured
commands. You can import the samples into Dragon to use them as templates for your own com-
mands. The sample commands are fully commented.
For more information, see:
n Structured Commands Samples
n Importing Sample Commands
Methods
For more information on the methods used by the sample commands, refer to the following topics
in the Main Help file:
n Global Methods
l SetState
l GetState
n EngineControl Methods
l MyCommandsActiveState
l PromptValue
324