summaryrefslogtreecommitdiff
path: root/AutoHotkey
diff options
context:
space:
mode:
Diffstat (limited to 'AutoHotkey')
-rw-r--r--AutoHotkey/kinesis360_hotkeys.ahk10
1 files changed, 5 insertions, 5 deletions
diff --git a/AutoHotkey/kinesis360_hotkeys.ahk b/AutoHotkey/kinesis360_hotkeys.ahk
index bc2fa32..143828f 100644
--- a/AutoHotkey/kinesis360_hotkeys.ahk
+++ b/AutoHotkey/kinesis360_hotkeys.ahk
@@ -42,7 +42,7 @@ CapsLock & Space::Send "^!l"
}
;Emacs
-#e::
+#n::
{
; Check if Emacs is running
@@ -118,17 +118,17 @@ CapsLock & Space::Send "^!l"
{
; Check if Telegram is running
- if WinExist("ahk_exe Telegram.exe")
+ if WinExist("ahk_class Qt51515QWindowIcon ahk_exe Telegram.exe")
{
; If Telegram is already in the foreground, minimize it
- if WinActive("ahk_exe Telegram.exe")
+ if WinActive("ahk_class Qt51515QWindowIcon ahk_exe Telegram.exe")
{
- WinMinimize("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("Telegram.exe" )
+ WinActivate("ahk_class Qt51515QWindowIcon ahk_exe Telegram.exe" )
}
}
}
Back to https://optics-design.com