Menu

Create a command

In this topic, learn how to create custom commands to:

  • Access a website
  • Open a specific files or folders
  • Access menu items in a specific application
  • Use keyboard shortcuts
  • Open an application
  • Perform a variety of more complex actions (scripting knowledge required)

What are custom commands?

Custom commands allow you to make Dragon work better for you. For example, you might create a command to:

  • Access your favorite website.
  • Open a frequently used document.
  • Quickly access a frequently used menu item in an application.
  • Perform a keyboard shortcut in an application.

You can also add Auto-text commands to quickly insert frequently-used text. See Auto-text commands for more.

Creating a custom command

New command panel

  1. Click the Dragon menu icon in the menu bar and select Show Commands…
  2. Or

    Say Show Commands window.

    The Commands window opens.

  3. Select a context from the list.
  4. Click the Add Command button at the top of the window.
  5. The new command panel opens.

  6. Enter the Spoken Phrase you want to use to trigger the command.
  7. Important: To avoid misrecognition and conflicts with existing commands, it is important that you choose a name that is at least two words. Avoid words such as "that," "one," "two," etc.

  8. Optionally, enter a brief command Description.
  9. Select the Context where you want to use the command.
  10. To create a new context:

    1. Click Choose…
    2. Browse to an application on your hard drive and select it.
    3. Click Open.
  11. Select the Type of command you want to create.

The fields you see in the panel vary based on the command type you choose.

Menu Item

A Menu Item command selects a specified item in the menu bar of a specified application.

To create a Menu command:

  1. Select Menu Item in the Type dropdown, even if it is already selected, to load the Select a menu item dropdown with the menu options for the selected context.
  2. Note: If the application you chose as the context is not currently running, the Launch Context… button may appear. Click the button to load the menu options for the application.

  3. Open the dropdown to see the menus of your selected context (application).
  4. Click the menu and submenus (if needed), then select the item.
  5. Your selection appears in the Menu field.

  6. Click Save.

You can access menus in any application by saying Click <menu name> menu. However, you can save time by creating custom Menu Item commands for frequently used items.

Tip: Use Menu Item commands to access iTunes scripts with Dragon. Just select Script from the dropdown menu and find your script in the submenu.

Keystroke

A Keystroke command accesses a keyboard shortcut on your Mac or in a specific application.

To create a Keystroke command:

  1. Select Keystroke in the Type dropdown.
  2. The Keystroke list appears.

  3. Click Add Keystroke to add a keystroke to the list.
  4. To the right of the Keystroke list, type the key you want to use into the Key field, or select a special character from the dropdown.
  5. Select the modifier keys you want to use.
  6. Click Save.

You can access any keyboard shortcuts using key commands, such as Press the key combo Command N. However, you can save time by creating custom Keystroke commands for frequently used shortcuts.

Bookmark

A Bookmark command jumps to a URL in your default browser.

To create a Bookmark command:

  1. Select Bookmark in the Type dropdown.
  2. The URL field appears.

  3. Paste the URL you want to access into the text field.
  4. Click Save.

You can also create a Bookmark command by saying Create a command for this page while browsing in Safari.

File or Folder

A File or Folder command opens a specified file in its default application, or a folder in the Finder.

To create a File or Folder command:

  1. Select File or Folder in the Type dropdown.
  2. The Target Path field appears.

  3. Click Choose Target
  4. The Open dialog appears.

  5. Select the file or folder, then click Select Target.
  6. The path to the selected file or folder appears in the Target Path field.

  7. Click Save.

Application

An Application command launches a specified application.

To create an Application command:

  1. Select Application in the Type dropdown.
  2. The Application Name field appears.

  3. Click Choose Application to select an application.
  4. The Open dialog appears.

  5. Select an application and click Select Application.
  6. Click Save.

By default, Dragon will generate commands to launch all your applications. However, if you prefer to deselect that option in the Advanced Preferences pane, you can create your own command to access a frequently used application.

Advanced commands

Users with coding knowledge can create more complex custom commands to perform a wide variety of tasks.