Last active
January 2, 2024 12:20
-
-
Save eegeeZA/3ba69af32ba6264bf78ffda4b88895f3 to your computer and use it in GitHub Desktop.
Remap original hotkeys from Winamp to media keys, disable the annoying CaPS LoCK button, allow the volume to be adjusted with the mouse wheel, and quick launch a calculator using Num Lock.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires AutoHotkey v2.0 | |
SetCapsLockState "AlwaysOff" | |
Media_Play_Pause::Media_Play_Pause | |
Media_Stop::Media_Stop | |
Media_Next::Media_Next | |
Media_Prev::Media_Prev | |
^!Home::Send "!{Media_Play_Pause}" | |
^!End::SendInput "{Media_Stop}" | |
^!PgDn::SendInput "{Media_Next}" | |
^!PgUp::SendInput "{Media_Prev}" | |
^+WheelUp::SoundSetVolume "+1" | |
^+WheelDown::SoundSetVolume -1 | |
NumLock:: | |
{ | |
if FileExist("C:\Program Files (x86)\SpeedCrunch\speedcrunch.exe") | |
Run "C:\Program Files (x86)\SpeedCrunch\speedcrunch.exe" | |
else if FileExist("C:\Program Files (x86)\SpeQ Mathematics\SpeQ Mathematics.exe") | |
Run "C:\Program Files (x86)\SpeQ Mathematics\SpeQ Mathematics.exe" | |
else | |
Run "calc.exe" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install AutoHotkey and run the script directly.
I like to right-click the script, compile to an EXE, and then drop the file in my start up folder.
(run
shell:Startup
to find it)