From 709baf93f428901ca438ae572a0ac0201dc0aee9 Mon Sep 17 00:00:00 2001 From: martin_r Date: Tue, 2 Sep 2008 01:09:44 +0000 Subject: AHK: 1er‐Taste: Ebenen 2‐6 wiederhergestellt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.neo-layout.org@841 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- windows/autohotkey/Source/Keys-Neo.ahk | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'windows/autohotkey/Source') diff --git a/windows/autohotkey/Source/Keys-Neo.ahk b/windows/autohotkey/Source/Keys-Neo.ahk index 1d88858..d7d5d5b 100644 --- a/windows/autohotkey/Source/Keys-Neo.ahk +++ b/windows/autohotkey/Source/Keys-Neo.ahk @@ -25,8 +25,7 @@ return neo_1: noCaps=1 EbeneAktualisieren() - if Ebene12 - if !(CheckDeadUni("c1",0x00B9) ; Hochgestellte 1 + if Ebene12 and !(CheckDeadUni("c1",0x00B9) ; Hochgestellte 1 or CheckDeadUni("c5",0x2081) ; Tiefgestellte 1 or CheckComp3Uni("r_1",0x217A) ; Rmisch xi or CheckComp3Uni("R_1",0x216A)) ; Rmisch XI @@ -68,15 +67,14 @@ return neo_3: noCaps = 1 EbeneAktualisieren() - if Ebene12 { - if !(CheckDeadUni("c1",0x00B3) ; Hochgestellte 3 + if Ebene12 and !(CheckDeadUni("c1",0x00B3) ; Hochgestellte 3 or CheckDeadUni("c5",0x2083) ; Tiefgestellte 3 or CheckCompUni("1",0x2153) ; 1/3 or CheckCompUni("2",0x2154) ; 2/3 or CheckCompUni("r",0x2172) ; Rmisch iii or CheckCompUni("R",0x2162)) ; Rmisch III OutputChar12(3,"") - } else if (Ebene = 3) + else if (Ebene = 3) SendUnicodeChar(0x00B3) ; Hochgestellte 3 else if (Ebene = 4) SendUnicodeChar(0x266B) ; 2 Achtelnoten -- cgit v1.2.3