# Function Reference

MouseWheel

Moves the mouse wheel up or down. NT/2000/XP ONLY.

MouseWheel ( "direction" [, clicks] )

Parameters

direction | "up" or "down"
clicks | [optional] The number of times to move the wheel. Default is 1.

Return Value

Success: | Returns 1.
Failure: | Returns 0, the direction is not recognized.

Remarks

This function only works on NT, 2000, XP and later operating systems.

Related

MouseClick, MouseClickDrag, MouseGetPos, MouseMove, MouseCoordMode (Option)

Example

; Move the wheel up 10 times
MouseWheel("up", 10)