From 16f9711c08f255f31681b5f24f51f6f7df48d834 Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 8 Jun 2025 23:47:55 +0200 Subject: made sure windows terminal focuses when launched --- AutoHotkey/kinesis360_hotkeys.ahk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AutoHotkey/kinesis360_hotkeys.ahk b/AutoHotkey/kinesis360_hotkeys.ahk index ea38316..662d610 100644 --- a/AutoHotkey/kinesis360_hotkeys.ahk +++ b/AutoHotkey/kinesis360_hotkeys.ahk @@ -27,6 +27,8 @@ DetectHiddenWindows true { ; If Windows Terminal is not running, launch it Run(UserPath . "\scoop\apps\windows-terminal\current\WindowsTerminal.exe") + if WinWait("ahk_exe WindowsTerminal.exe", , 5) + WinActivate("ahk_exe WindowsTerminal.exe") } } -- cgit v1.2.3