Skip to content

Commit

Permalink
Fixed some random bugs, added in better handling for apps like Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
skoshy committed Apr 8, 2014
1 parent 482ec60 commit 9ee07f9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 91 deletions.
Binary file modified CharSend.ahk
Binary file not shown.
102 changes: 12 additions & 90 deletions KeyBindings.ahk
Original file line number Diff line number Diff line change
@@ -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
SC029 & Up::
ShowText("Grave Mode", 1,20,"purple")
CharSendMode = grave
return
Binary file modified QuickAccents.ahk
Binary file not shown.
2 changes: 1 addition & 1 deletion ShowText.ahk
Original file line number Diff line number Diff line change
@@ -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%
Expand Down

0 comments on commit 9ee07f9

Please sign in to comment.