[feature] move cursor when using win key

This commit is contained in:
Klesh Wong 2020-07-23 10:32:27 +08:00
parent a02a878aa7
commit 2241f725a3

View File

@ -105,4 +105,18 @@ MoveCursorMon(toRight) {
}
#u:: MoveCursorMon(False)
#i:: MoveCursorMon(True)
#i:: MoveCursorMon(True)
~#1 Up::
~#2 Up::
~#3 Up::
~#4 Up::
~#5 Up::
~#6 Up::
~#7 Up::
~#8 Up::
~#9 Up::
Sleep 0.5
WinGetPos, x, y, w, h, A
DllCall("SetCursorPos", "int", x + w / 2, "int", y + h / 2)
return