Created
April 17, 2020 12:29
-
-
Save alaindet/49cd89e640735b3ec63c55ba388db542 to your computer and use it in GitHub Desktop.
Auto Hot Key script to simulate Home and End via Ctrl + arrows and activate numpad on numbers above letters
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
#NoEnv | |
SendMode Input | |
SetWorkingDir %A_ScriptDir% | |
#SingleInstance Force | |
; These hotkeys are always active (even if the script is suspended): | |
^Left:: | |
Suspend Toggle | |
Send {Home} | |
Suspend Toggle | |
return | |
+^Left:: | |
Suspend Toggle | |
Send {LShift down}{Home}{LShift up} | |
Suspend Toggle | |
return | |
^Right:: | |
Suspend Toggle | |
Send {End} | |
Suspend Toggle | |
return | |
+^Right:: | |
Suspend Toggle | |
Send {LShift down}{End}{LShift up} | |
Suspend Toggle | |
return | |
Insert:: Suspend,Toggle | |
; These hotkeys are inactive if the script is suspended: | |
0::Numpad0 | |
1::Numpad1 | |
2::Numpad2 | |
3::Numpad3 | |
4::Numpad4 | |
5::Numpad5 | |
6::Numpad6 | |
7::Numpad7 | |
8::Numpad8 | |
9::Numpad9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment