-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsnippets.ahk
More file actions
64 lines (50 loc) · 1.19 KB
/
snippets.ahk
File metadata and controls
64 lines (50 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
;RShift::CapsLock
;CapsLock::NumLock
; ctrl alt: ^>!, ^!, RAlt for right alt
; RAlt::MsgBox You pressed AltGr+m.
;RAlt::MsgBox Right
;Ctrl + Alt::MsgBox LR
;RAlt -> >!
CapsLock::
KeyWait, CapsLock
If (A_PriorKey="CapsLock")
SetCapsLockState, % GetKeyState("CapsLock","T") ? "Off" : "On"
Return
#If, GetKeyState("CapsLock", "P") ;Your CapsLock hotkeys go below
n:: Send, {;}{Return}
t:: Send, {Return}
h:: Send, {BackSpace}
::abcd:: Send, {;}{Return}
Return
Appskey:: Send, {Right}
Return
Appskey & k::Send, Yay
Return
; braces
>!h:: Send, (
return
>!t:: Send, [
return
>!n:: Send, {{}
return
;Lshift & Rshift:: send {x}
;CapsLock:: send {Return}
;ß::NumLock
;ß::LAlt
;LAlt::CapsLock
;CapsLock::NumLock
;#If GetKeyState("NumLock","T")
; )::1
; return
;CapsLock::
; KeyWait, CapsLock
; If (A_PriorKey="CapsLock")
; SetCapsLockState, % GetKeyState("CapsLock","T") ? "Off" : "On"
;Return
;#If, GetKeyState("CapsLock", "P") ;Your CapsLock hotkeys go below
NumLock::
KeyWait, NumLock
If (A_PriorKey="NumLock")
SetNumLockState, % GetKeyState("NumLock","T") ? "Off" : "On"
Return
#If, GetKeyState("NumLock", "P") ;Your NumLock hotkeys go below