Sets the mouse speed that will be used if unspecified in MouseMove/Click/Drag.
|Speed||The speed to move the mouse in the range 0 (fastest) to 100 (slowest). Note: a speed of 0 will move the mouse instantly. This parameter can be an expression.|
If this command isn't used, the default mouse speed is 2.
The commands MouseClick, MouseMove, and MouseClickDrag all have a parameter to override the default mouse speed.
The built-in variable A_DefaultMouseSpeed contains the current setting.
Every newly launched thread (such as a hotkey, custom menu item, or timed subroutine) starts off fresh with the default setting for this command. That default may be changed by using this command in the auto-execute section (top part of the script).
MouseClick, MouseMove, MouseClickDrag, SetWinDelay, SetControlDelay, SetKeyDelay, SetKeyDelay
SetDefaultMouseSpeed, 0 ; Move the mouse instantly.