diff options
author | mösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2008-11-11 16:46:18 +0000 |
---|---|---|
committer | mösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2008-11-11 16:46:18 +0000 |
commit | b78b1fd09acd67ad7e344b27fb4a62f00131dc2c (patch) | |
tree | 4e92c76c6879196ae3a1f69c0fa31d591772fc3e /windows/neo-vars/src/Source | |
parent | 7434de7f1dbf0ace8976167d3261933b31e221fd (diff) |
Compose,d,d decodiert nun das nächste ausgegebenen Zeichen, nicht die gedrückte Taste. Die ausgabe erfolgt derzeit exklusiv im praktischen TrayTip.
git-svn-id: https://svn.neo-layout.org@1169 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to '')
-rw-r--r-- | windows/neo-vars/src/Source/varsfunctions.ahk | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/windows/neo-vars/src/Source/varsfunctions.ahk b/windows/neo-vars/src/Source/varsfunctions.ahk index c8c00d3..ddf9bf7 100644 --- a/windows/neo-vars/src/Source/varsfunctions.ahk +++ b/windows/neo-vars/src/Source/varsfunctions.ahk @@ -108,6 +108,10 @@ CharStarUp(PhysKey) { CharOut(char) {
global
+ if (DecodeUnicodeNext == 1) {
+ DecodeUnicodeNext := 0
+ TrayTip,Unicode-Zeichen,%char%,10,1
+ }
if (DNCS%char% != "")
SendBlindShiftFixed(DNCS%char% . UPCS%char%)
else if (CS%char% != "")
@@ -118,6 +122,10 @@ CharOut(char) { CharOutDown(char) {
global
+ if (DecodeUnicodeNext == 1) {
+ DecodeUnicodeNext := 0
+ TrayTip,Unicode-Zeichen,%char%,10,1
+ }
if (DNCS%char% != "")
SendBlindShiftFixed(DNCS%char%)
else if (CS%char% != "")
@@ -173,8 +181,7 @@ CharProc(subroutine) { UniSum := ""
} else if (subroutine == "DUni") {
; starte Unicode-Zeichen-in-Hex-Umwandlung
- IsPressHooked := 1
- PressHookRoutine := "DUni"
+ DecodeUnicodeNext := 1
} else if (subroutine == "Rlod") {
; Neustart des AHK-Skripts
reload
@@ -507,15 +514,6 @@ PressHookProc(HookRoutine, PhysKey, ActKey, Char) { IsPressHooked := 0
} else
IsPressHooked := 0
- } else if (HookRoutine == "DUni") {
- OutStr := EncodeUni(Char)
- loop {
- if (OutStr == "")
- break ; erledigt
- CharOut(SubStr(OutStr,1,5))
- OutStr := SubStr(OutStr,6)
- }
- IsPressHooked := 0
} else
IsPressHooked := 0
}
|