Moves the mouse wheel up or down.
MouseWheel ( "direction" [, clicks = 1] )
direction | The direction to move the wheel: $MOUSE_WHEEL_UP ("up") $MOUSE_WHEEL_DOWN ("down") Constants are defined in "AuoItConstants.au3". |
clicks | [optional] The number of times to move the wheel. Default is 1. |
Success: | 1. |
Failure: | 0, the direction is not recognized. |
MouseClick, MouseClickDrag, MouseCoordMode (Option), MouseGetPos, MouseMove
#include <AutoItConstants.au3>
; Move the mouse wheel up ten times.
MouseWheel($MOUSE_WHEEL_UP, 10)