Skip to content

Latest commit

 

History

History
89 lines (62 loc) · 3.44 KB

README.md

File metadata and controls

89 lines (62 loc) · 3.44 KB

Mouse-Speed-AHK-Banner

Mouse-Speed-AHK

Mouse-Speed-AHK is an AutoHotKey script to change the speed of your mouse cursor using a hotkey

GitHub last commit GitHub issues GitHub repo size GitLab GitHub GitHub Repo stars

Table Of Contents

Overview

Using this AutoHotKey script, you are able to instantly toggle the speed of your mouse cursor with just a keypress

Installation

  1. Install AutoHotkey if you havent already
  2. Clone this repository:
$  git clone /~https://github.com/ConnerWill/Mouse-Speed-AHK.git
  1. Run Mouse-Speed-AHK.ahk

Usage

  1. Run Mouse-Speed-AHK.ahk script. (open with AutoHotkey if prompted).

Hotkeys

  • While you hold F1, your mouse cursor speed is very slow.

  • Releasing F1, will restore your previous cursor speed.

Running At System Startup

You can make the script run on every boot with either of these methods.

Startup Folder Method

(Small-Brain method)

  1. Press Win + R
  2. Enter the following command into the run box and click OK
shell:startup
  1. Create a shortcut to the Mouse-Speed-AHK.ahk to the startup folder.

Task Scheduler Method

(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'.


Resources

A detailed description of AutoHotKeys hotkeys can be found here: AutoHotkey docs.

To see debug messages, download SysInternals DebugView.