9.0

72
Object:
Select the object type from the list of available objects. The "(General)" object groups all of the procedures, which
are not part of any specific object.
Proc:
The Proc list 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 Save to save the advanced scripting command. Note that you must give the command a name before this
button is active.
Cancel
Click Cancel to close the Advanced Scripting dialog box without saving any changes you have made since you last
clicked Save.
Create New
Click Create New 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 command.
Note that this button is active only when you open the editor from the Script mode of the Command Browser
by
selecting a command and clicking Edit.
Notes
If the Visual Basic code in an Advanced Scripting command contains some runtime errors, a message will
appear describing the error and prompting you to correct it.
Multiple Advanced Scripting commands cannot execute simultaneously. If one Advanced Scripting command
is running, you cannot start another Advanced Scripting command until the first one is finished.
Using ActiveX Components
You can use ActiveX® components in your scripts. Use the following procedure to create commands with ActiveX
components.
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 Text and Graphics 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.