Mouse-Speed-AHK is an AutoHotKey script to change the speed of your mouse cursor using a hotkey
Using this AutoHotKey script, you are able to instantly toggle the speed of your mouse cursor with just a keypress
- Install AutoHotkey if you havent already
- Clone this repository:
$ git clone /~https://github.com/ConnerWill/Mouse-Speed-AHK.git
- Run
Mouse-Speed-AHK.ahk
script. (open with AutoHotkey if prompted).
-
While you hold F1, your mouse cursor speed is very slow.
-
Releasing F1, will restore your previous cursor speed.
You can make the script run on every boot with either of these methods.
(Small-Brain method)
- Press
Win
+R
- Enter the following command into the run box and click OK
shell:startup
- Create a shortcut to the
Mouse-Speed-AHK.ahk
to the startup folder.
(Chad Method)
Run the following commands in an Administrator powershell prompt. Be sure to specify the correct path to your Mouse-Speed-AHK.ahk file.
$T = New-ScheduledTaskAction -Execute "PATH\TO\Mouse-Speed-AHK.ahk"
$P = New-ScheduledTaskTrigger -AtLogon
$S = New-ScheduledTaskPrincipal -GroupId "BUILTIN\Administrators" -RunLevel Highest
$F = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries -ExecutionTimeLimit 0
$D = New-ScheduledTask -Action $A -Principal $P -Trigger $T -Settings $S
Register-ScheduledTask Mouse-Speed-AHK -InputObject $D
The task is now registered and will run on the next logon. The task can be viewed or modified in 'Task Scheduler'.
A detailed description of AutoHotKeys hotkeys can be found here: AutoHotkey docs.
To see debug messages, download SysInternals DebugView.