diff options
author | admin <contact@optics-design.com> | 2025-06-08 23:47:55 +0200 |
---|---|---|
committer | admin <contact@optics-design.com> | 2025-06-08 23:47:55 +0200 |
commit | 16f9711c08f255f31681b5f24f51f6f7df48d834 (patch) | |
tree | 08ce2b1a5625219ef083e9fe546b4dba9f2d0532 /AutoHotkey/kinesis360_hotkeys.ahk | |
parent | c1ee82edaa5429bc02259508fa7ab67159c72952 (diff) |
made sure windows terminal focuses when launched
Diffstat (limited to 'AutoHotkey/kinesis360_hotkeys.ahk')
-rw-r--r-- | AutoHotkey/kinesis360_hotkeys.ahk | 2 |
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")
}
}
|