Created
December 30, 2019 18:14
-
-
Save isti115/0b657e7d0a50c96dd3806e86951f5421 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#SingleInstance force | |
;#NoTrayIcon | |
Menu, Tray, Icon, C:\Users\isti\programming\AutoHotKey\icons\cursor.ico | |
;#If GetKeyState("CapsLock", "P") | |
; --- Space | |
#If GetKeyState("vkE2", "P") && GetKeyState("Space", "P") | |
; --- Disabling Space | |
*Space:: return | |
; --- Standard navigation | |
i:: Send, {Up 10} | |
j:: Send, {Left 10} | |
k:: Send, {Down 10} | |
l:: Send, {Right 10} | |
; --- Shift | |
+i:: Send, +{Up 10} | |
+j:: Send, +{Left 10} | |
+k:: Send, +{Down 10} | |
+l:: Send, +{Right 10} | |
; --- Alt | |
!i:: Send, !{Up 10} | |
!j:: Send, !{Left 10} | |
!k:: Send, !{Down 10} | |
!l:: Send, !{Right 10} | |
; --- vkE2 | |
#If GetKeyState("vkE2", "P") && !GetKeyState("Space", "P") | |
; --- Disabling vkE2 | |
vkE2:: return | |
; --- Temp | |
\:: Send, \[]{Left} | |
-:: Send, {Right}{}}{Left 2}\_{{} | |
; --- Extras | |
q:: Volume_Up | |
a:: Volume_Down | |
z:: Volume_Mute | |
p:: Backspace | |
s:: ^s | |
;e:: Escape | |
e:: Enter | |
x:: ^x | |
c:: ^c | |
v:: ^v | |
[::^< | |
]::^> | |
;e:: Send, {Alt Down}e{Alt Up}la{Alt} | |
;e:: Send, ^i^i | |
,:: Send, ^#{Left} | |
WheelUp:: Send, ^#{Left} | |
.:: Send, ^#{Right} | |
WheelDown:: Send, ^#{Right} | |
vkBF:: Send {LCtrl Down}{LShift}{LCtrl Up} | |
F2:: Run, nircmdc setsysvolume 62000 "Microphone Array", , Hide | |
F3:: Run, nircmdc setdefaultsounddevice "Speakers", , Hide | |
F4:: Run, nircmdc setdefaultsounddevice "DELL U2515H", , Hide | |
; --- YouTube speed | |
`:: Send, <<<<<<< | |
1:: Send, <<<<<<<> | |
2:: Send, <<<<<<<>> | |
3:: | |
Send, ^+1 | |
Sleep, 10 | |
Send, <<<<<<<>>> | |
return | |
4:: Send, <<<<<<<>>>> | |
5:: Send, <<<<<<<>>>>> | |
6:: Send, <<<<<<<>>>>>> | |
7:: return | |
; --- Standard navigation | |
i:: Send, {Up} | |
j:: Send, {Left} | |
k:: Send, {Down} | |
l:: Send, {Right} | |
h:: Send, ^{Left} | |
`;:: Send, ^+{Right}{Right} | |
;SC027:: Send, ^{Right} | |
u:: Send, {Home} | |
o:: Send, {End} | |
n:: Send, {PgUp} | |
m:: Send, {PgDn} | |
; --- Ctrl | |
^i:: Send, ^{Up} | |
^j:: Send, ^{Left} | |
^k:: Send, ^{Down} | |
^l:: Send, ^{Right} | |
; --- Shift | |
+i:: Send, +{Up} | |
+j:: Send, +{Left} | |
+k:: Send, +{Down} | |
+l:: Send, +{Right} | |
+u:: Send, +{Home} | |
+o:: Send, +{End} | |
+h:: Send, ^+{Left} | |
+`;:: Send, ^+{Right} | |
; --- Ctrl + Shift | |
^+i:: Send, ^+{Up} | |
^+j:: Send, ^+{Left} | |
^+k:: Send, ^+{Down} | |
^+l:: Send, ^+{Right} | |
; --- Alt | |
!i:: Send, !{Up} | |
!j:: Send, !{Left} | |
!k:: Send, !{Down} | |
!l:: Send, !{Right} | |
; --- Maintance | |
^e:: | |
Run, notepad %A_ScriptFullPath% | |
return | |
^r:: | |
Reload | |
return | |
^x:: | |
ExitApp | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment