MyCommands Editor—Advanced Scripting dialog box

Use this dialog box to create complex scripts and sequences to perform virtually any function on the computer using voice commands. Creating these commands requires familiarity with the Microsoft Visual Basic programming language.

Option Description

Spoken Title

What you say to execute the command. For example, "Insert Company Logo". Click the Train button to teach Dragon to pronounce it.

Type an angle bracket (<) to open the MyCommands Name Editor dialog box to specify a variable.

Description

Brief description of what the command does. Optional.

Advanced options

Click Advanced for additional options.

Option Description
Group

List of categories by which you can group your commands. Use these categories to locate the command in the Command Browser.

To create your own group, select User-defined and type your own group name.

Availability

Indicates how the command is available to Dragon. The options are:

  • Global—Available in every application.
  • Application-specific—Available in the application you specify. When you select this option, the applications that are currently open on your computer appear in a list. If the application you want is not open, click the Browse button to locate the application on your computer.
  • Window-specific—Available in the window you specify. When you select this option, the Application and Window lists appear. If the application or window you want is not in the list, you must close the dialog box, open the application or window you want, and reopen the MyCommands Editor—Auto-text dialog box to see the window listed.

When you select either the Application-specific or Window-specific option, the Recognizable in States list appears. You can either select from the list or enter the name of a new state. A command with this option will be available in the state you specify within the window or application you specify.

Command Type Indicates the command type. In this case, the type is Advanced Scripting. The other command types are:
Name Editor

Click to open the MyCommands Name Editor dialog box. Use this dialog box to assign variables to your command, such as a name for the command you want to create.

For more information, see MyCommands Name Editor dialog box.

Script

Script window. When you create a script:

  • Changes to a line of code are automatically capitalized and highlighted when a different line is selected. This auto-formatting helps you catch typing errors.
  • Break points can be toggled on and off. A dot at the front of the line indicates a break point.
Toolbar The scripting toolbar.
Object Object type. The "(General)" object groups all of the procedures, which are not part of any specific object.
Proc: Shows all the procedures for the current object. Use it to select the procedure type from the list of available procedures. A procedure that is not bold inserts the proper procedure definition for that procedure.
Save Click to save your script. This button is unavailable until you provide a Spoken Title.
Create New

Click to open the Advanced Scripting dialog box with a duplicate of the current command. You can rename and edit the command to create a new one.

Note: This button is active only when you open the editor from the Script area of the Command Browser by selecting a command and clicking Edit.