From 03131863bc2ea969e562adc9b8f2952165613528 Mon Sep 17 00:00:00 2001 From: kkard2 Date: Fri, 11 Jul 2025 13:03:55 +0200 Subject: visual studio (it flickers the first time for some reason) --- _windows/ahk/capslock.ahk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '_windows') diff --git a/_windows/ahk/capslock.ahk b/_windows/ahk/capslock.ahk index e9e4ff0..56a8cdd 100644 --- a/_windows/ahk/capslock.ahk +++ b/_windows/ahk/capslock.ahk @@ -32,12 +32,18 @@ HarpoonRun(winTitle) { WinActivate windows[HarpoonLastWindowIndex + 1] } +; visual studio being stupid +HarpoonRunAndClick(winTitle) { + HarpoonRun(winTitle) + MouseClick("left", 100, 0) +} + CapsLock::LCtrl <^[::Esc RAlt & `::HarpoonRun("ahk_exe WindowsTerminal.exe") RAlt & 1::HarpoonRun("ahk_exe Discord.exe") -RAlt & 2::HarpoonRun("ahk_group IDE") +RAlt & 2::HarpoonRunAndClick("ahk_group IDE") RAlt & 3::HarpoonRun("ahk_group Browser") RAlt & 4::HarpoonRun("ahk_exe Element.exe") RAlt & 5::HarpoonRun("ahk_exe code.exe") -- cgit v1.3.1