From 8c581db2973e4a4ca726b57a6e216aa6eeaacec8 Mon Sep 17 00:00:00 2001 From: Ben Reaves Date: Tue, 22 Jun 2021 19:42:42 -0500 Subject: [PATCH] Adds workaround for Powertoys remapper within RDP. Related #532 --- windows/kinto.ahk | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/windows/kinto.ahk b/windows/kinto.ahk index 15be468..df8ffd5 100644 --- a/windows/kinto.ahk +++ b/windows/kinto.ahk @@ -202,6 +202,17 @@ GroupAdd, intellij, ahk_exe idea64.exe ; End::Send {Media_Play_Pause} ; Pause/Play ; PgDn::Send {Media_Next} ; Next +; Temporary fix that allows for full remapping via Powertoys +; useful for destinations where you cannot install Kinto +; and you are using a Mac based keyboard +; NOTE: Do not fully maximize the RDP window for this to work. +#IfWinActive ahk_group remotes ; MacOnly +; #IfWinActive ahk_exe msrdc.exe ; MacOnly + $LWin::LAlt ; MacOnly + $LAlt::RAlt ; MacOnly + $LWin up::Send {LWin up}{LAlt up}{LCtrl up} ; MacOnly +#If ; MacOnly + #IfWinNotActive ahk_group remotes ; New AltTab and CtrlTab fix