summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradmin <contact@optics-design.com>2025-06-08 23:47:55 +0200
committeradmin <contact@optics-design.com>2025-06-08 23:47:55 +0200
commit16f9711c08f255f31681b5f24f51f6f7df48d834 (patch)
tree08ce2b1a5625219ef083e9fe546b4dba9f2d0532
parentc1ee82edaa5429bc02259508fa7ab67159c72952 (diff)
made sure windows terminal focuses when launched
-rw-r--r--AutoHotkey/kinesis360_hotkeys.ahk2
1 files changed, 2 insertions, 0 deletions
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")
}
}
Back to https://optics-design.com