Skip to content

Commit

Permalink
global shortcut for telegram
Browse files Browse the repository at this point in the history
  • Loading branch information
bushnerd committed Apr 11, 2023
1 parent ff6c9dd commit 573d090
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions q-dir_ahk.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,14 @@ Return
; Send, {LShift Up}
; Return

#If WinActive("ahk_exe Obsidian.exe") or ("ahk_exe code.exe")
^Space::#Space
Return
; #If WinActive("ahk_exe Obsidian.exe") or ("ahk_exe code.exe")
; ^Space::#Space
; Return

!s::
if WinExist("ahk_exe Telegram.exe") {
WinClose , ahk_exe Telegram.exe
} else {
run "D:\scoop\apps\telegram\current\Telegram.exe"
}
return

0 comments on commit 573d090

Please sign in to comment.