Scripting Language
The Dragon NaturallySpeaking scripting language is the programming
language for Dragon NaturallySpeaking voice commands. It provides a
set of commands that Dragon NaturallySpeaking can interpret and
execute. It also provides a set of standard program elements such as data
manipulation functions and flow control statements.

A script is a sequence of scripting commands and program elements. A
script automates a task that controls Dragon NaturallySpeaking and
Windows. Many Dragon NaturallySpeaking commands run scripts.

The scripting language supports the following elements:
· Expressions
· Variables
· Operators
· Data manipulation functions
· Flow control statements
· Scripting commands

The scripting language expressions, variables, operators, data
manipulation functions, and flow control statements are modeled after
the BASIC computer language. They provide the programming
language framework for writing powerful voice command scripts.


Scripting Command Overview
Dragon NaturallySpeaking scripting commands provide you with a
powerful set of tools for controlling Dragon NaturallySpeaking, the
Windows environment, and your applications. With them, a voice
command script can:
· Launch and control applications on the desktop, including changing
the active application.
· Control applications by using DDE commands and DLL calls,
sending keystrokes to an application, selecting a window control,
and selecting a menu item.
· Control Dragon NaturallySpeaking by putting it into and out of
sleep mode and turning the microphone on and off.
· Control script execution by displaying a confirmation box, running
another voice command script, and making the script pause.
· Control the mouse, including clicking the mouse buttons, dragging
the mouse, controlling mouse motion, and controlling the
MouseGrid™.
· Tell Dragon NaturallySpeaking to behave as if it recognized a
specific word or set of words.
· Play beeps and .wav files.
· Control dictated text by sending keystrokes to the active window and
“pressing” modifier keys such as Shift, Alt, and Ctrl.

You can build powerful voice commands by combining these
operations.

When you "Grok" all that, you can look at
Chapter 5 Scripting Language Reference