Method MouseUp

AutoIt X

Method Reference


MouseUp

Perform a mouse up event at the current mouse position

MouseUp "button"

Parameters

button The button to click: "left", "right", "middle", "main", "menu", "primary", "secondary".

Return Value

None.

Remarks

MouseClick.
Use responsibly: For every MouseDown there should eventually be a corresponding MouseUp event.

Related

MouseClick, MouseClickDrag, MouseCoordMode (Option), MouseDown, MouseGetPosX, MouseGetPosY, MouseMove

Example


Set oAutoIt = WScript.CreateObject("AutoItX3.Control")

oAutoIt.MouseDown "left"
oAutoIt.Sleep 100
oAutoIt.MouseUp "left"