To visually move the mouse more slowly - such as a script that performs a demonstration for an audience - use SendEvent or SendMode Event (optionally in conjuction with BlockInput). Speed is ignored for SendInput/Play modes they move the mouse instantaneously (though SetMouseDelay has a mode that applies to SendPlay). If omitted, the default speed (as set by SetDefaultMouseSpeed or 2 otherwise) will be used.
Note: A speed of 0 will move the mouse instantly. The speed to move the mouse in the range 0 (fastest) to 100 (slowest), which can be an expression. The number of times to click the mouse, which can be an expression. If omitted, the cursor's current position is used. Coordinates are relative to the active window unless CoordMode was used to change that.
The x/y coordinates to which the mouse cursor is moved prior to clicking, which can be expressions. To compensate automatically for cases where the user has swapped the left and right mouse buttons via the system's control panel, use the Click command instead. ClickCount is the number of notches to turn the wheel.
CSGO RIGHT ZOOM ON LEFT CLICK AHK WINDOWS
: Specify WheelLeft (or WL) or WheelRight (or WR) to push the wheel left or right, respectively (but these have no effect on operating systems older than Windows Vista). Rotate the mouse wheel: Specify WheelUp or WU to turn the wheel upward (away from you) specify WheelDown or WD to turn the wheel downward (toward you). This parameter may be omitted, in which case it defaults to Left. The button to click: Left (default), Right, Middle (or just the first letter of each of these) or the fourth or fifth mouse button (X1 or X2). MouseClick, WhichButton, X, Y, ClickCount, Speed, DownOrUp, Relative Parameters WhichButton NOTE: The Click command is generally more flexible and easier to use. MouseClick - Syntax & Usage | AutoHotkey MouseClickĬlicks or holds down a mouse button, or turns the mouse wheel.