9.0
275
Example
This example generates a double-click with the left mouse button.
ButtonClick 1,2
Note
Use a series of ButtonClick commands to generate triple- or quadruple-clicks.
ClearDesktop
Minimizes all open applications.
Syntax
ClearDesktop
This command does not have any arguments.
ControlPick
Selects a specified control in an active secondary window. Command buttons, option buttons, check boxes, group
boxes, list boxes, and text fields are examples of controls. Generally, toolbar buttons, property sheet tabs, and
taskbar buttons cannot be selected by using ControlPick.
Syntax
ControlPick "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.
ControlPick "OK"
Notes
ControlPick does not work for nonstandard controls, such as an option with a bitmapped text label. You may
be able to select a nonstandard control by using SendKeys to send a TAB sequence.
A static text field, such as a text box label, can be selected only if it has an access key (underlined letter).










