diff --git a/CharSend.ahk b/CharSend.ahk index 782ff30..b467db4 100644 Binary files a/CharSend.ahk and b/CharSend.ahk differ diff --git a/KeyBindings.ahk b/KeyBindings.ahk index 97719be..4fb1c4d 100644 --- a/KeyBindings.ahk +++ b/KeyBindings.ahk @@ -1,173 +1,95 @@ -SC029:: - +SC029:: SendInput `` - return - - - + +SC029 UP:: - if shifted != true - SendInput ~ - else - shifted = false - return - - SC029 & a:: - if CharSendMode = acute - CharSend("á", "Á") - else if CharSendMode = umlaut - CharSend("ä", "Ä") - else if CharSendMode = grave - CharSend("à", "À") - return - - SC029 & e:: - if CharSendMode = acute - CharSend("é", "É") - else if CharSendMode = umlaut - CharSend("ë", "Ë") - else if CharSendMode = grave - CharSend("è", "È") - return - - SC029 & i:: - if CharSendMode = acute - CharSend("í", "Í") - else if CharSendMode = umlaut - CharSend("ï", "Ï") - else if CharSendMode = grave - CharSend("ì", "Ì") - return - - SC029 & o:: - if CharSendMode = acute - CharSend("ó", "Ó") - else if CharSendMode = umlaut - CharSend("ö", "Ö") - else if CharSendMode = grave - CharSend("ò", "Ò") - return - - SC029 & u:: - if CharSendMode = acute - CharSend("ú", "Ú") - else if CharSendMode = umlaut - CharSend("ü", "Ü") - else if CharSendMode = grave - CharSend("ù", "Ù") - return - - SC029 & y:: - CharSend("Ψ", "Ψ") - return - - SC029 & n:: - CharSend("ñ", "Ñ") - return - - SC029 & c:: - CharSend("ç", "Ç") - return - - SC029 & 1:: - CharSend("¡", "¡") - return - - SC029 & /:: - -CharSend("¿", "¿") - +CharSend("¿", "¿") return - - ^SC029 UP:: - SendInput ~ - return - - - SC029 & Left:: - -ShowText("Acute Mode", 1,20,"green") - +ShowText("Acute Mode", 1,20,"green") CharSendMode = acute - return +SC029 & Right:: +ShowText("Umlaut Mode", 1,20,"blue") +CharSendMode = umlaut +return - -SC029 \ No newline at end of file +SC029 & Up:: +ShowText("Grave Mode", 1,20,"purple") +CharSendMode = grave +return \ No newline at end of file diff --git a/QuickAccents.ahk b/QuickAccents.ahk index 3535834..6dd14aa 100644 Binary files a/QuickAccents.ahk and b/QuickAccents.ahk differ diff --git a/ShowText.ahk b/ShowText.ahk index 6281f35..3d0c525 100644 --- a/ShowText.ahk +++ b/ShowText.ahk @@ -1,4 +1,4 @@ -ShowText(text, overTaskbar=0, size=40, color="red", x="center", y=550, manualRemove=0) { +ShowText(text, overTaskbar=0, size=40, color="red", x="center", y=550, manualRemove=0) { Gui, 1:Destroy Gui, 1:font, s%size% c%color% bold, Verdana Gui, 1:Add, Text, h%size% x0 y0 Center, %text%