You can use ActiveX® components in your scripts. Use the following procedure to create commands with ActiveX components.
- On the Tools menu of the DragonBar, click Add New Command to open the MyCommands dialog box.
- By default, the MyCommands auto-text dialog box opens. Select Advanced Scripting from the Command Type list to open the MyCommands Advanced Scripting dialog box.
- In the MyCommand name box, enter what you will say to start the command. Choose a phrase that is easy to remember but not likely to be used in normal dictation.
- In the Description box, enter a description that will help you identify the command.
- In the Group list, specify whether this command will be a Dragon command or a User-defined command. If it is User-defined, you can type over "User-defined" with a group name of your choosing. The new group name will appear in the list the next time you create a command.
- Specify whether the command will work everywhere (Global), in a specific application that you name, or in a specific window.
- Click the Browse Object tool to open the ActiveX Automation Members dialog box. Use this dialog box to build your script with ActiveX variables. If you would like more information about a specific variable, select it in the Methods/Properties box and click the question mark button to the left of the Help String box.
- When you are finished, close the ActiveX Automation Members dialog box and click Save on the MyCommands Advanced Scripting dialog box.