From 1c8233e53db904fc8d7b56f3bc7d057b51142cf5 Mon Sep 17 00:00:00 2001 From: Hane Date: Sun, 25 Jun 2023 02:42:39 +0200 Subject: [PATCH] piusareLite: no accident consec special chars; respect cpslk/shift --- piusareLite.ahk | 460 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 442 insertions(+), 18 deletions(-) diff --git a/piusareLite.ahk b/piusareLite.ahk index cb4b63a..4ea33f5 100644 --- a/piusareLite.ahk +++ b/piusareLite.ahk @@ -1,30 +1,454 @@ +;;Use on admin windows without admin rights: https://www.autohotkey.com/docs/v1/Program.htm#Installer_uiAccess +#SingleInstance Force +hotkeyLock := 0 + +sendCheckCapsLock(command, clCommand) +{ + if (GetKeyState("CapsLock", "T")) + { + Send, {%clCommand%} + } + else + { + Send, {%command%} + } +} + ;;Change virtual desktop ;;RAlt::SendInput ^#{Left} -;General remappings +;;General remappings CapsLock::LControl RShift & LShift::CapsLock LShift & RShift::CapsLock LCtrl::AppsKey ;;*CapsLock::return +return -;;Adding tonic vowels with tilde and ñ to non-ES keyboard -