From b78b1fd09acd67ad7e344b27fb4a62f00131dc2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?m=C3=B6si?= Date: Tue, 11 Nov 2008 16:46:18 +0000 Subject: =?UTF-8?q?Compose,d,d=20decodiert=20nun=20das=20n=C3=A4chste=20au?= =?UTF-8?q?sgegebenen=20Zeichen,=20nicht=20die=20gedr=C3=BCckte=20Taste.?= =?UTF-8?q?=20Die=20ausgabe=20erfolgt=20derzeit=20exklusiv=20im=20praktisc?= =?UTF-8?q?hen=20TrayTip.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.neo-layout.org@1169 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- windows/neo-vars/src/Source/varsfunctions.ahk | 20 +++++++++----------- 1 file 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 } -- cgit v1.2.3