summaryrefslogtreecommitdiffstats
path: root/ahk-assistant.ahk
diff options
context:
space:
mode:
authorbreadcat2020-08-06 15:27:19 +0100
committerbreadcat2020-08-06 15:27:19 +0100
commit7d4e14c51f644915aba8202024279fb2e80a6e8d (patch)
tree33c1fb0c76ebbed2f7f1d56bdc82de63f5b575bd /ahk-assistant.ahk
parent51b0def56d885b264216c43b47a84992473ebaa8 (diff)
downloadahka-7d4e14c51f644915aba8202024279fb2e80a6e8d.tar.gz
ahka-7d4e14c51f644915aba8202024279fb2e80a6e8d.tar.bz2
ahka-7d4e14c51f644915aba8202024279fb2e80a6e8d.zip
Add support for mpv.net
Diffstat (limited to 'ahk-assistant.ahk')
-rw-r--r--ahk-assistant.ahk3
1 files changed, 2 insertions, 1 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index b9d65f3..97fe046 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -175,9 +175,10 @@ Insert::appendClipboard()
p::Send ^7 ; p for playlist
#IfWinActive
-#IfWinActive ahk_class mpv ; mpv
+#If WinActive("ahk_exe mpv.exe") or WinActive("ahk_exe mpvnet.exe") ; mpv and mpv.net
Alt & Enter:: ; overflow to fullscreen below
Ralt & Enter::Send f ; ralt-Enter fullscreens
+ q:: ; overflow to quit, for mpv.net
CapsLock::Send !{F4} ; quit
#IfWinActive