From 7f15da51c3545707d579680ceefbfbd74ed9e112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?m=C3=B6si?= Date: Wed, 25 Feb 2009 07:37:43 +0000 Subject: Erkennung einer inkompatiblen Tastaturbelegung in Ordnung gebracht git-svn-id: https://svn.neo-layout.org@1696 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- windows/neo-vars/src/source/initialize.ahk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'windows/neo-vars/src') diff --git a/windows/neo-vars/src/source/initialize.ahk b/windows/neo-vars/src/source/initialize.ahk index 641db44..478d5e9 100644 --- a/windows/neo-vars/src/source/initialize.ahk +++ b/windows/neo-vars/src/source/initialize.ahk @@ -53,7 +53,11 @@ IniRead,dynamischesCompose,%ini%,Global,dynamischesCompose,0 regread,inputlocale,HKEY_CURRENT_USER,Keyboard Layout\Preload,1 regread,inputlocalealias,HKEY_CURRENT_USER,Keyboard Layout\Substitutes,%inputlocale% -if (inputlocalealias<>inputlocale=%inputlocalealias% and inputlocale<>00000407) { + +if (inputlocalealias<>"") + inputlocale:=inputlocalealias + +if (inputlocale<>"00000407") { suspend regread,inputlocale,HKEY_LOCAL_MACHINE,SYSTEM\CurrentControlSet\Control\Keyboard Layouts\%inputlocale%,Layout Text msgbox, 48, Warnung!, -- cgit v1.2.3