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 -