From baade0fb8ac364843146dc6d434e3f6ee025d06d Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 11 May 2025 18:50:54 +0200 Subject: changed hotkeys --- AutoHotkey/kinesis360_hotkeys.ahk | 38 +++++++++++++++----------------------- 1 file changed, 15 insertions(+), 23 deletions(-) diff --git a/AutoHotkey/kinesis360_hotkeys.ahk b/AutoHotkey/kinesis360_hotkeys.ahk index 143828f..ea38316 100644 --- a/AutoHotkey/kinesis360_hotkeys.ahk +++ b/AutoHotkey/kinesis360_hotkeys.ahk @@ -3,17 +3,6 @@ global NavMode := false UserPath := EnvGet("USERPROFILE") syncPath := EnvGet("SYNC") DetectHiddenWindows true -CapsLock & l::Send "^{Space}" -CapsLock & u::Send "^u" -CapsLock & i::Send "{Tab}" -CapsLock & q::Send "!{F4}" -CapsLock & e::Send "^{Tab}" -CapsLock & d::Send "^d" -CapsLock & p::Send "^p" -CapsLock & n::Send "^n" -CapsLock & c::Send "^c" -CapsLock & Space::Send "^!l" - #SuspendExempt ^!o::Suspend ; Ctrl+Alt+o #SuspendExempt False @@ -114,25 +103,28 @@ CapsLock & Space::Send "^!l" } } ;Telegram -#m:: +#,:: { ; Check if Telegram is running - if WinExist("ahk_class Qt51515QWindowIcon ahk_exe Telegram.exe") + if WinExist("ahk_exe Telegram.exe") { - ; If Telegram is already in the foreground, minimize it - if WinActive("ahk_class Qt51515QWindowIcon ahk_exe Telegram.exe") - { - WinMinimize("ahk_class Qt51515QWindowIcon ahk_exe Telegram.exe") - } - else - { ; If Telegram is running but not in the foreground, bring it to the foreground - WinActivate("ahk_class Qt51515QWindowIcon ahk_exe Telegram.exe" ) - } + WinActivate("ahk_exe Telegram.exe" ) } } +;Thunderbird +#.:: +{ + + ; Check if Thunderbird is running + if WinExist("ahk_exe thunderbird.exe") + { + ; If thunderbird is running but not in the foreground, bring it to the foreground + WinActivate("ahk_exe thunderbird.exe" ) + } +} ;Browser #i:: { @@ -158,7 +150,7 @@ CapsLock & Space::Send "^!l" } } ;Audacious -#s:: +#m:: { ; Check if Audacious is running -- cgit v1.2.3