Created
September 3, 2021 09:24
-
-
Save neo-sam/7c265d5228e5efd0b7af492504e922e2 to your computer and use it in GitHub Desktop.
Windows Autohotkey Numpad Emulator By Key `jkluio789`
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
FileName := A_Temp . "\ahk_numpad_emulator_will_close" | |
if FileExist(FileName) | |
{ | |
FileDelete %FileName% | |
Goto ForceExit | |
} | |
#NoTrayIcon | |
Menu, Tray, Icon, calc.exe | |
Menu, Tray, Icon | |
Menu, Tray, Tip, Numpad Emulator | |
#SingleInstance Force | |
OnExit, ExitSub | |
return | |
ExitSub: | |
if (A_ExitReason == "Single") | |
{ | |
FileAppend,,%FileName% | |
} | |
ForceExit: | |
ExitApp | |
j::Numpad1 | |
k::Numpad2 | |
l::Numpad3 | |
u::Numpad4 | |
i::Numpad5 | |
o::Numpad6 | |
7::Numpad7 | |
8::Numpad8 | |
9::Numpad9 | |
m::Numpad0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment