From 158374a3cc0c4cc7d8b9626dcb0f1e2d8afc01e9 Mon Sep 17 00:00:00 2001 From: breadcat Date: Sun, 21 Nov 2021 19:19:00 +0000 Subject: Replace some classes with executable names --- ahk-assistant.ahk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ahk-assistant.ahk') diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk index e6b450d..d4a95bb 100644 --- a/ahk-assistant.ahk +++ b/ahk-assistant.ahk @@ -111,7 +111,7 @@ Insert::appendClipboard() CapsLock::Send !{F4} ; quit #IfWinActive -#IfWinActive ahk_class FM ; 7zip file manager +#IfWinActive ahk_exe 7zFM.exe ; 7zip file manager !Up::Send {Backspace} #IfWinActive @@ -170,7 +170,7 @@ Insert::appendClipboard() CapsLock::Send !{F4}{sleep 15}!{F4} ; quit #IfWinActive -#IfWinActive ahk_class SUMATRA_PDF_FRAME ; sumatra pdf +#IfWinActive ahk_exe SumatraPDF.exe ; sumatra pdf CapsLock::Send !{F4} ; quit ^b::Send {F12} ; C-b toggles bookmarks ^t::Send !vt ; C-t toggles toolbar @@ -257,7 +257,7 @@ Insert::appendClipboard() return #IfWinActive -#IfWinActive ahk_class MSPaintApp ; mspaint +#IfWinActive ahk_exe mspaint.exe ; mspaint ^=::Send ^{PgUp} ; zoom in ^-::Send ^{PgDn} ; zoom out #IfWinActive @@ -277,7 +277,7 @@ Insert::appendClipboard() CapsLock::Send !{F4} ; quit #IfWinActive -#IfWinActive ahk_class wxWindowClassNR ; audacity +#IfWinActive ahk_exe audacity.exe ; audacity ^=::Send ^1 ; zoom in ^-::Send ^3 ; zoom out ^0::Send ^2 ; zoom reset -- cgit v1.2.3