aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tt.windows.ahk21
1 files changed, 21 insertions, 0 deletions
diff --git a/tt.windows.ahk b/tt.windows.ahk
index 931e8a1..437af3e 100644
--- a/tt.windows.ahk
+++ b/tt.windows.ahk
@@ -96,6 +96,27 @@ Loop {
WinMinimize, ahk_id %hwnd%
return
+/*
+#If ShouldActivateMButton()
+MButton::
+ Send, {Shift Down}
+ MouseClick, Right
+ Send, {Shift Up}{Down}{Down}{Down}{Down}{Down}{Enter}
+ return
+#If
+*/
+
+;; -> library
+
+/*
+ShouldActivateMButton() {
+ MouseGetPos, xpos, ypos, , ControlUnderMouse
+ return ControlUnderMouse = "MSTaskSwWClass1"
+ || ControlUnderMouse = "ApplicationManager_DesktopShellWindow"
+ || ControlUnderMouse = "Shell_TrayWnd1"
+ || ControlUnderMouse = "MSTaskListWClass1"
+}
+*/
;; -> body