aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tt.programs.ahk6
1 files changed, 5 insertions, 1 deletions
diff --git a/tt.programs.ahk b/tt.programs.ahk
index 2352dd8..52f1426 100644
--- a/tt.programs.ahk
+++ b/tt.programs.ahk
@@ -143,11 +143,15 @@ return
<^>!9::SendInput, {ASC 93}
<^>!+::SendInput, {ASC 92}
-LAlt & Tab::
+#If WinActive("ahk_class 9pmgraphics") and !AltTabActive
+
+!Tab::
SendInput, {LAlt}
SendInput, {LAlt Down}{Tab}
+AltTabActive := 1
KeyWait, LAlt
SendInput, {LAlt Up}
+AltTabActive := 0
return
#IfWinActive