Skip to content

Commit 326302e

Browse files
committed
Add Mouse Key
1 parent 14df4e9 commit 326302e

File tree

3 files changed

+33
-15
lines changed

3 files changed

+33
-15
lines changed

application/chrome.ahk

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,14 @@ F7::MsgBox, 'F7'
7777
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
7878
;;; REVEAL JS 사용을 위한 HOTSTRING
7979
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
80-
; :*:----::
81-
; Send ---->
82-
; Send {ENTER}
83-
; return
80+
::-=::
81+
Send ---->
82+
Send {ENTER}
83+
return
84+
::-==::
85+
Send ---->>
86+
Send {ENTER}
87+
return
8488
:*:/bg::
8589
Set_Absolutely_English("bg-zoom slide slow ----")
8690
return

application/visual_studio_code.ahk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ return
133133
Send {Enter}
134134
return
135135
:*:-=::
136-
Send `=`> {{}
136+
Send `=`>
137137
return
138138
:*:////::
139139
Send //////////////////////////////////////////////////////////// {ENTER}

change_key/capslock_key.ahk

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,27 +84,43 @@ capslock & l::
8484

8585

8686
capslock & u::
87-
if (moveMouse(-1, -1)) {
88-
}else
87+
GetKeyState, state, Alt
88+
if (state = "D") {
89+
Send {AltUp}
90+
MouseClick, left
91+
} else {
8992
Send {Blind}{backspace}
93+
}
9094
return
9195

9296
capslock & o::
93-
if (moveMouse(1, -1)) {
94-
}else
97+
GetKeyState, state, Alt
98+
if (state = "D") {
99+
Send {AltUp}
100+
MouseClick, Right
101+
} else {
95102
Send {Blind}{delete}
103+
}
96104
return
97105

98106
capslock & ,::
99-
if (moveMouse(0, 1)) {
100-
}else
107+
GetKeyState, state, Alt
108+
if (state = "D") {
109+
Send {AltUp}
110+
MouseClick, WheelDown
111+
} else {
101112
Send {Blind}{PgDn}
113+
}
102114
return
103115

104116
capslock & m::
105-
if (moveMouse(-1,1)) {
106-
}else
117+
GetKeyState, state, Alt
118+
if (state = "D") {
119+
Send {AltUp}
120+
MouseClick, WheelUp
121+
} else {
107122
Send {Blind}{PgUp}
123+
}
108124
return
109125

110126
capslock & .::
@@ -133,8 +149,6 @@ capslock & n::
133149
}
134150
return
135151

136-
137-
138152
capslock & `;::
139153
GetKeyState, state, Alt
140154
if (state = "D") {

0 commit comments

Comments
 (0)