Function Reference


MouseWheel

Moves the mouse wheel up or down.

MouseWheel ( "direction" [, clicks = 1] )

Parameters

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.

Return Value

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

Related

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

Example

#include <AutoItConstants.au3>
; Move the mouse wheel up ten times.
MouseWheel ($MOUSE_WHEEL_UP,10)

AltStyle によって変換されたページ (->オリジナル) /