diff options
author | John Ankarström <john@ankarstrom.se> | 2021-01-24 17:28:29 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-01-24 17:28:29 +0100 |
commit | de6d6665f3e91245f0e6ea71bd00bcfdeb8176cb (patch) | |
tree | fa3ccece4b062e964efca8b41a984aff99e3b587 | |
parent | 3e796fc38a04d3454e861ea10b5e984ce9bfaaeb (diff) | |
download | ahk-de6d6665f3e91245f0e6ea71bd00bcfdeb8176cb.tar.gz |
jump: Re-press Win if Win is still held after execution
-rw-r--r-- | tt.jump.ahk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tt.jump.ahk b/tt.jump.ahk index d45a1ea..aa5232f 100644 --- a/tt.jump.ahk +++ b/tt.jump.ahk @@ -15,7 +15,7 @@ JumpPaths := { s: env("Sync") #s:: ToolTip, ... -SendInput, {Blind}{LWin Up} +SendInput, {Blind}{LWin Up}{RWin Up} Input, k, C L1 if (JumpPaths[k] != "") { @@ -25,6 +25,10 @@ if (JumpPaths[k] != "") Run, % """" JumpPaths[k] """" } ToolTip +if (GetKeyState("LWin", "P")) + SendInput, {Blind}{LWin Down} +if (GetKeyState("RWin", "P")) + SendInput, {Blind}{RWin Down} return ;; -> library |