From 988ba05fa816196b64572c71b026f63856b1f246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?m=C3=B6si?= Date: Thu, 6 Oct 2011 09:23:05 +0000 Subject: =?UTF-8?q?=E2=80=A2=20Das=20Skript=20ist=20jetzt=20mit=20dem=20ne?= =?UTF-8?q?uen=20AutoHotkey=5FL=20Unicode=20kompatibel,=20aber=20nur=20meh?= =?UTF-8?q?r=20bedingt=20mit=20dem=20alten=20AHK=20oder=20dem=20AutoHotkey?= =?UTF-8?q?=5FL=20ANSI.=20=E2=80=A2=20Die=20Dynamische=20BST=20(M3+F3)=20r?= =?UTF-8?q?eagiert=20jetzt=20nicht=20nur=20auf=20Compose,=20sondern=20auch?= =?UTF-8?q?=20auf=20Ebene=205/6.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.neo-layout.org@2407 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- windows/neo-vars/src/source/screenkeyboard.ahk | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'windows/neo-vars/src/source/screenkeyboard.ahk') diff --git a/windows/neo-vars/src/source/screenkeyboard.ahk b/windows/neo-vars/src/source/screenkeyboard.ahk index 4053646..e5ea2b4 100644 --- a/windows/neo-vars/src/source/screenkeyboard.ahk +++ b/windows/neo-vars/src/source/screenkeyboard.ahk @@ -23,10 +23,14 @@ UniFontZipFontPath := "dejavu-fonts-ttf-" . UniFontVersion . "/ttf/" . UniFontFi Check_BSTUpdate(DoBSTUpdate = 0) { global if (useDBST) { - if (!useBST and (Comp != "")) { + if (!useBST and ((Comp != "") or (EbeneC == 5) or (EbeneC == 6))) { useBST := 1 BSTLastComp := "" CharProc__BST1() + } else if (useBST and ((Comp == "") and (EbeneC != 5) and (EbeneC != 6))) { + useBST := 0 + BSTLastComp := "" + CharProc__BST0() } } if (useBST @@ -35,13 +39,6 @@ Check_BSTUpdate(DoBSTUpdate = 0) { or (EbeneC != BSTLastEbeneC) or (EbeneNC != BSTLastEbeneNC))) BSTUpdate() - if (useDBST) { - if (useBST and (Comp == "")) { - useBST := 0 - BSTLastComp := "" - CharProc__BST0() - } - } } BSTUpdate() { @@ -162,7 +159,7 @@ CharProc_DBSTt() { useDBST := !(useDBST) if (useDBST) { if (zeigeModusBox) - TrayTip,Dynamische Bildschirmtastatur,Die dynamische Bildschirmtastatur wurde aktiviert. Zum Deaktivieren`, Mod3+F3 druecken.,10,1 + TrayTip,Dynamische Bildschirmtastatur,Die dynamische Bildschirmtastatur wurde aktiviert. Zum Deaktivieren`, Mod3+F3 drücken.,10,1 } else { if (zeigeModusBox) TrayTip,Dynamische Bildschirmtastatur,Die dynamische Bildschirmtastatur wurde deaktiviert.,10,1 @@ -177,13 +174,13 @@ BSTOnClose() { BSTOnSize() { global - Gui, Show, % "y" . yposition . " w" . A_GuiWidth . " h" . A_GuiWidth*199/729 . " NoActivate", Neo-Bildschirmtastatur - Gui, Font, % "s" . A_GuiWidth*12/729 . " bold", % UniFontName + Gui, Show, % "Y" . yposition . " W" . A_GuiWidth . " H" . Round(A_GuiWidth*199/729,0) . " NoActivate", Neo-Bildschirmtastatur + Gui, Font, % "s" . Round(A_GuiWidth*12/729,0) . " bold", % UniFontName loop,parse,GuiKeyList,`, { GuiPhysKey := A_LoopField GuiControl,Font,GuiKey%GuiPhysKey% - GuiControl,Move,GuiKey%GuiPhysKey%, % "x" . GuiPosx%GuiPhysKey%*A_GuiWidth/729 . " y" . GuiPosy%GuiPhysKey%*A_GuiWidth/729 . " w" . 38*A_GuiWidth/729 . " h" . 38*A_GuiWidth/729 + GuiControl,Move,GuiKey%GuiPhysKey%, % "x" . Round(GuiPosx%GuiPhysKey%*A_GuiWidth/729,0) . " y" . Round(GuiPosy%GuiPhysKey%*A_GuiWidth/729,0) . " w" . Round(38*A_GuiWidth/729,0) . " h" . Round(38*A_GuiWidth/729,0) } GuiControl,,Picture0, % "*w" . A_GuiWidth . " *h-1 " . ResourceFolder . "\ebene0.png" } -- cgit v1.2.3