From 0dadc1bf13562486f876fe8094eb5cfdb54287cd Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Fri, 9 Sep 2022 23:09:33 +0100 Subject: [PATCH] Add explorer.exe to some bindings --- macOS.ahk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/macOS.ahk b/macOS.ahk index ce680da..ae3ec8e 100644 --- a/macOS.ahk +++ b/macOS.ahk @@ -51,6 +51,8 @@ return $!r:: ; reload if WinActive("ahk_group Browser") || WinActive("ahk_group WebCatalog") send ^r +else if WinActive("ahk_exe explorer.exe") + send {F5} else send !r return @@ -59,7 +61,7 @@ return $![:: ; back from Alt+[ $<^>![:: ; from AltGr+[ -if WinActive("ahk_group Browser") || WinActive("ahk_group WebCatalog") +if WinActive("ahk_group Browser") || WinActive("ahk_group WebCatalog") || WinActive("ahk_exe explorer.exe") send !{Left} else send ![ @@ -67,7 +69,7 @@ return $!]:: ; forward from Atl+] $<^>!]:: ; from AltGr+] -if WinActive("ahk_group Browser") || WinActive("ahk_group WebCatalog") +if WinActive("ahk_group Browser") || WinActive("ahk_group WebCatalog") || WinActive("ahk_exe explorer.exe") send !{Right} else send !]