Mouse action statements

Mouse action statements perform actions using the computer's mouse. Most of these actions can be performed on a specified window or control or at the application level.

Statement Description
Click Clicks a control or the mouse at the pointer's current location.
DoubleClick Double-clicks a control or the mouse at the pointer's current location.
Hover Moves the mouse pointer to a control and holds it.
LMouseClick
Clicks the left mouse button in a location.
LMouseDoubleClick
Double-clicks the left mouse button in a location.
LMouseDown
Presses the left mouse button in a location.
LMouseUp
Releases the left mouse button in a location.
MMouseClick
Clicks the middle mouse button in a location.
MMouseDoubleClick
Double-clicks the middle mouse button in a location.
MMouseDown
Presses the middle mouse button in a location.
MMouseUp
Releases the middle mouse button in a location.
MouseMove Moves the mouse pointer to a location.
MouseMoveFromCurrentPosition Moves the mouse pointer a number of pixels from the current location.
RMouseClick
Clicks the right mouse button in a location.
RMouseDoubleClick
Double-clicks the right mouse button in a location.
RMouseDown
Presses the right mouse button in a location.
RMouseUp
Releases the right mouse button in a location.