MouseDown
From AutoIt Wiki
Performs a mouse down event at the current mouse position. Adapted from AutoIt docs.
Contents |
Syntax
MouseDown("button")
Parameters
| button | The button to click: "left", "right", "middle", "main", "menu", "primary", "secondary". |
Note: See MouseClick for descriptions.
Return Value
Success: Returns 1.
Failure: Returns 0, the button is not listed.
Example
MouseDown("left")
Sleep(100)
MouseUp("left")