9.0

288
Notes
Scripting commands from Dragon NaturallySpeaking version 5 that use the Dragon List Variables will only
function when the .dvc file is imported. You cannot create new commands using these old Dragon List
Variables.
Sending uppercase characters is equivalent to sending SHIFT plus the character. For example, A and
{Shift+a} are equivalent.
Do not include spaces between the names of simultaneously pressed keys, such as Alt+Tab.
Any modifier keys (SHIFT, CTRL, ALT) pressed while the SendDragonKeys command executes do not affect
the command action.
You should test the use of SendDragonKeys under varying conditions to avoid unpredictable results.
Use a DdeExecute instruction, rather than SendDragonKeys, if you cannot be sure a key sequence always
produces the same result.
You can use 0 to indicate zero repetitions of a key. This feature is useful for scripts where a keystroke may
be used 0 or more times, depending upon a variable value.
SendSystemKeys
Sends keystrokes to the Windows operating system. Use this command only when SendKeys fails to perform. You
can use SendSystemKeys to send key combinations such as {Ctrl+Esc}, {Alt+Esc}, and {Alt+Tab}.
Syntax
SendSystemKeys "keystroke text" [, speed]
Argument Description
keystroke
text
The keystrokes to be sent to the Windows operating system. Enclose the names of
nonprinting keys in braces ({ }).
speed A value between 1 and 32767 indicating the keystroke speed. The default value is
100; 200 is twice as fast as the default.
Example
This instruction executes the "Switch to Next Window" command.
SendSystemKeys "{Alt+Esc}"
Notes
Do not include spaces between the names of simultaneously-pressed keys, such as Alt+Tab.
Any modifier keys (SHIFT, CTRL, ALT) pressed while the SendSystemKeys command executes affect the
command action.
The SendSystemKeys command sends keystrokes more slowly than the SendKeys command. Also, if the
system responds slowly long strings can overflow the system keyboard buffer.