commit 158374a3cc0c4cc7d8b9626dcb0f1e2d8afc01e9
parent 2761432f406d6d8e43bdb701a7e63f21812e0f7c
Author: breadcat <peter@minskio.co.uk>
Date: Sun, 21 Nov 2021 19:19:00 +0000
Replace some classes with executable names
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git 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