diff --git a/win/win.ahk b/win/win.ahk index d65b952..3c8c9f5 100644 --- a/win/win.ahk +++ b/win/win.ahk @@ -138,7 +138,15 @@ MoveCursorWin(toRight) { ~#7 Up:: ~#8 Up:: ~#9 Up:: - Sleep 0.5 + Sleep 100 WinGetPos, x, y, w, h, A DllCall("SetCursorPos", "int", x + w / 2, "int", y + h / 2) - return \ No newline at end of file + return +~!Tab Up:: + while (GetKeyState("Alt") != 0 or GetKeyState("Tab") != 0) { + Sleep 50 + } + Sleep 100 + WinGetPos, x, y, w, h, A + DllCall("SetCursorPos", "int", x + w / 2, "int", y + h / 2) + return