Guidelines for writing scripts

Scripting commands have two parts: a command name and a set of arguments.

Syntax

CommandName "argument", [, argument]

Rules

  • Dragon command names are case-sensitive. When using a Dragon command as a parameter (for example, "transfer text"), the command must be in lowercase.
  • Arguments in brackets ([ ]) are optional. Do not, however, include the brackets in scripts.
  • Arguments must appear in the order shown, separated by commas. Spaces are optional.
  • Enclose literal values (strings), including key sequences, in quotation marks. Do not enclose numeric values in quotation marks. To send a quotation mark as a literal, enclose it in quotations marks. For example, type: """
  • Scripts can contain comments (text that is ignored when the script runs). Precede comments with a single quote (') character.

Note

Scripts cannot be used to activate or disable dictation words and voice commands. Dragon does not support these distinct modes.