9.0

271
check boxes, group boxes, list boxes, and text fields are examples of controls. Only controls within the currently
active window are available.
Some programs require Active Accessibility to select controls. Most applications do not require Active Accessibility
and some system environments do not support it. Therefore, you should only use the ActiveControlPick command
for applications that require Active Accessibility for control selection. For all other programs, use the ControlPick
command or use the SendKeys command to press the control's accelerator key.
Note
This command works only for legacy Dragon NaturallySpeaking version 5 commands that have been imported
into
version 9. It will not work in commands that you create using the MyCommands editor.
Syntax
ActiveControlPick "menuItem"
Argument Description
menuItem Specifies the identifier assigned to the control to be selected. This value is typically
the control's text label, and is case sensitive. Do not use a control's accelerator keys
for this value. If the label includes an ampersand (&) prefixing an access key, do not
include it.
Example
This example presses the OK button in the active window.
ActiveControlPick "OK"
Notes
Generally, toolbar buttons, property sheet tabs, and taskbar buttons cannot be selected using
ActiveControlPick.
A static text field, such as a text box label, can be selected only if it has an access key (underlined letter).
ActiveMenuPick
Selects the specified menu or menu item, visible in the active window, by executing the menu's access keys. This
command works only in applications that support Microsoft Active Accessibility.
Some programs require Active Accessibility to select menus. Most applications do not require Active Accessibility
and some system environments do not support it. Therefore, you should only use the ActiveMenuPick command for
applications that require Active Accessibility for menu selection. For all other programs, use the MenuPick
command or use the SendKeys command to press an accelerator key.
Note
This command works only for legacy Dragon NaturallySpeaking version 5 commands that have been imported
into
version 9. It will not work in commands that you create using the MyCommands editor.
Syntax
ActiveMenuPick "menuItem"