From: Pieter Degroote Date: Mon, 26 Oct 2020 16:25:07 +0000 (+0100) Subject: Add files via upload X-Git-Url: https://shimmer.witbreuk.eu/gitweb/UltimateKEYS.git/commitdiff_plain/a2a20095e01686ad7c8583562a3b66bea4655b94?hp=b04624edb14587a8060f3c7bfc4e7434fe86a9ac Add files via upload A minor change to the code has been made without any changes in functionality. --- diff --git a/UltimateKEYS - 2020-09-24.ahk b/UltimateKEYS - 2020-09-24.ahk index 315bff3..af9338e 100644 --- a/UltimateKEYS - 2020-09-24.ahk +++ b/UltimateKEYS - 2020-09-24.ahk @@ -1071,6 +1071,20 @@ dkMathSymbols.item[" "] := "{u+221a}" ; (√) square root Send {blind}{vkE8} ; suppresses RAlt+Shift hotkey return +>!n:: + if GetKeyState("CapsLock", "T") + Send {u+00d1} ; (Ñ) N with tilde + else + Send {u+00f1} ; (ñ) n with tilde + return +>!+n:: + if GetKeyState("CapsLock", "T") + Send {u+00f1} ; (ñ) n with tilde + else + Send {u+00d1} ; (Ñ) N with tilde + Send {blind}{vkE8} ; suppresses RAlt+Shift hotkey + return + >!o:: if GetKeyState("CapsLock", "T") Send {u+00d6} ; (Ö) O with diaeresis @@ -1141,20 +1155,6 @@ dkMathSymbols.item[" "] := "{u+221a}" ; (√) square root Send {blind}{vkE8} ; suppresses RAlt+Shift hotkey return ->!n:: - if GetKeyState("CapsLock", "T") - Send {u+00d1} ; (Ñ) N with tilde - else - Send {u+00f1} ; (ñ) n with tilde - return ->!+n:: - if GetKeyState("CapsLock", "T") - Send {u+00f1} ; (ñ) n with tilde - else - Send {u+00d1} ; (Ñ) N with tilde - Send {blind}{vkE8} ; suppresses RAlt+Shift hotkey - return - >!t:: if GetKeyState("CapsLock", "T") Send {u+00de} ; (Þ) capital letter thorn diff --git a/UltimateKEYS SW - 2020-09-24.ahk b/UltimateKEYS SW - 2020-09-24.ahk index 27f534f..845c186 100644 --- a/UltimateKEYS SW - 2020-09-24.ahk +++ b/UltimateKEYS SW - 2020-09-24.ahk @@ -1104,6 +1104,20 @@ $+0::Send 0 ; digit 0 Send {blind}{vkE8} ; suppresses RAlt+Shift hotkey return +>!n:: + if GetKeyState("CapsLock", "T") + Send {u+00d1} ; (Ñ) N with tilde + else + Send {u+00f1} ; (ñ) n with tilde + return +>!+n:: + if GetKeyState("CapsLock", "T") + Send {u+00f1} ; (ñ) n with tilde + else + Send {u+00d1} ; (Ñ) N with tilde + Send {blind}{vkE8} ; suppresses RAlt+Shift hotkey + return + >!o:: if GetKeyState("CapsLock", "T") Send {u+00d6} ; (Ö) O with diaeresis @@ -1174,20 +1188,6 @@ $+0::Send 0 ; digit 0 Send {blind}{vkE8} ; suppresses RAlt+Shift hotkey return ->!n:: - if GetKeyState("CapsLock", "T") - Send {u+00d1} ; (Ñ) N with tilde - else - Send {u+00f1} ; (ñ) n with tilde - return ->!+n:: - if GetKeyState("CapsLock", "T") - Send {u+00f1} ; (ñ) n with tilde - else - Send {u+00d1} ; (Ñ) N with tilde - Send {blind}{vkE8} ; suppresses RAlt+Shift hotkey - return - >!t:: if GetKeyState("CapsLock", "T") Send {u+00de} ; (Þ) capital letter thorn