From 4b890410dbeb33650d727794fc79fc1589dd84fc Mon Sep 17 00:00:00 2001
From: dennis <dennis@b9310e46-f624-0410-8ea1-cfbb3a30dc96>
Date: Tue, 16 Sep 2008 16:47:24 +0000
Subject: Build-Skript überarbeitet, so dass die Pfade zentral geändert werden
 können.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

git-svn-id: https://svn.neo-layout.org@899 b9310e46-f624-0410-8ea1-cfbb3a30dc96
---
 windows/autohotkey/Build-Update.bat       |  26 +++++++++++++++++---------
 windows/autohotkey/Changelog-and-Todo.txt |   2 ++
 windows/autohotkey/neo20.ahk              |  21 +++++++++++++++++++++
 windows/autohotkey/neo20.exe              | Bin 451771 -> 440160 bytes
 4 files changed, 40 insertions(+), 9 deletions(-)

(limited to 'windows/autohotkey')

diff --git a/windows/autohotkey/Build-Update.bat b/windows/autohotkey/Build-Update.bat
index ce7405d..3c38e10 100644
--- a/windows/autohotkey/Build-Update.bat
+++ b/windows/autohotkey/Build-Update.bat
@@ -1,22 +1,30 @@
 @echo off
-cd Source
+
+echo Setting local path variables
+REM The path to the Auto Hotkeyprogram:
+set ahk=C:\Programme\AutoHotkey
+REM The path to the authohotkey directory in the local svn copy:
+set svn=.
+REM The filename of the joined script:
 set fn=neo20
 
 rem echo Killing the old (AHK)Driver
-REM tskill neo20-all-in-one
+rem tskill %fn%
 
-echo Creating a new Driver from the Source code
+echo Creating a new joined script from the Source code
+cd "%svn%\Source"
 REM The order *is* important!
-copy "Warning.ahk" + "Global-Part.ahk" + "Methods-Layers.ahk" + "Keys-Qwert-to-Neo.ahk" + "Keys-Neo.ahk" + "Methods-Lights.ahk" + "Methods-Other.ahk" + "Compose.ahk" + "Methods-Unicode.ahk" + "Methods-ScreenKeyboard.ahk" "..\%fn%.ahk"
+copy "Warning.ahk" + "Global-Part.ahk" + "Methods-Layers.ahk" + "Keys-Qwert-to-Neo.ahk" + "Keys-Neo.ahk"+ "Methods-Lights.ahk" + "Methods-Other.ahk" + "Compose.ahk" + "Methods-Unicode.ahk" + "Methods-ScreenKeyboard.ahk" "..\%fn%.ahk"
+cd..
+
+echo Compiling the new Driver using Autohotkey
+"%ahk%\Compiler\Ahk2Exe.exe" /in "%svn%\%fn%.ahk" /out "%svn%\%fn%.exe" /icon "%svn%\neo.ico"
 
-echo Compiling the new Driver using AutoHotkey...
-"C:\Programme\AutoHotkey\Compiler\Ahk2Exe.exe" /in "..\%fn%.ahk" /out "..\%fn%.exe" /icon "..\neo.ico"
 echo Driver Update complete! You can now close this log-window.
 
 REM Start the new Driver
 rem %fn%.exe
 
-rem wie kann man hier mit der Skriptabarbeitung weitermachen?
-rem Unter Windows XP scheint es nicht m�glich zu sein, dies mit "Bordmitteln" zu erreichen, es gibt hierf�r jedoch extere Programme, etwa
-REM echo Start the new driver asynchronously, using "Hidden Start" (hstart.exe) from http://www.ntwind.com/software/utilities/hstart/
+REM wie kann man hier mit der Skriptabarbeitung weitermachen? Unter Windows XP scheint es nicht m�glich zu sein, dies mit "Bordmitteln" zu erreichen, es gibt hierf�r jedoch extere Programme, etwa:
+REM  Start the new driver asynchronously, using "Hidden Start" (hstart.exe) from http://www.ntwind.com/software/utilities/hstart/
 REM hstart.exe /NOCONSOLE /D="." "%fn%.exe"
\ No newline at end of file
diff --git a/windows/autohotkey/Changelog-and-Todo.txt b/windows/autohotkey/Changelog-and-Todo.txt
index 29a83b9..146e099 100644
--- a/windows/autohotkey/Changelog-and-Todo.txt
+++ b/windows/autohotkey/Changelog-and-Todo.txt
@@ -23,6 +23,8 @@ Matthias Wächter <matthias (at) waechter.wiz. a t>
 
 === Änderungshistorie ===
 
+Revision 898 (von Dennis Heidsiek)
+- Build-Skript überarbeitet, so dass die Pfade zentral geändert werden können.
 Revision 897 (von Dennis Heidsiek)
 - Skript kompiliert wieder (alle .ahk-Dateien enden jetzt mit mindestens zwei Leezeilen)
 - Ein Überbleibsel aus dem Build-Skript entfernt (bezog sich noch auf den Compose-Playground).
diff --git a/windows/autohotkey/neo20.ahk b/windows/autohotkey/neo20.ahk
index 45c0cb7..e829142 100644
--- a/windows/autohotkey/neo20.ahk
+++ b/windows/autohotkey/neo20.ahk
@@ -41,6 +41,8 @@ Das war die letzte WARNUNG, ich hoffe nur, dass
 Sie wirklich wissen, was Sie hier tun wollen ...
 *******************************************
 */
+
+
 /******************
 * Initialisierung *
 *******************
@@ -378,6 +380,8 @@ return
 exitprogram:
   exitapp
 return
+
+
 ; LShift+RShift == CapsLock (simuliert)
 ; Es werden nur die beiden Tastenkombinationen abgefragt,
 ; daher kommen LShift und RShift ungehindert bis in die
@@ -506,6 +510,9 @@ IsMod4Pressed()
     else
       return (GetKeyState("<","P") or GetKeyState("SC138","P") or GetKeyState("�","P"))
 }
+
+
+
 /*
    ------------------------------------------------------
    QWERTZ->Neo umwandlung
@@ -745,6 +752,8 @@ VK09SC00F::goto neo_tab
 *VK2DSC052::goto neo_Numpad0   ; NumPadIns
 *VK6ESC053::                   ; NumPadDot
 *VK2ESC053::goto neo_NumpadDot ; NumPadIns
+
+
 /*
   Die eigentliche NEO-Belegung und der Hauptteil des AHK-Treibers.
 
@@ -1898,6 +1907,8 @@ neo_tab:
     DeadKey := ""
     CompKey := ""
   } return
+
+
 /* 
    ------------------------------------------------------
    Methode KeyboardLED zur Steuerung der Keyboard-LEDs
@@ -2004,6 +2015,8 @@ InsertIntegerLED(pInteger, ByRef pDest, pOffset = 0, pSize = 4) {
   Loop %pSize%  ; Copy each byte in the integer into the structure as raw binary data. 
     DllCall("RtlFillMemory", "UInt", &pDest + pOffset + A_Index-1, "UInt", 1, "UChar", pInteger >> 8*(A_Index-1) & 0xFF) 
 }
+
+
 deadAsc(val1, val2, a) {
   global
   if !DeadSilence
@@ -2145,6 +2158,8 @@ CheckComp(d) {
     return 1
   }
 }
+
+
 CheckCompose() {
 CheckCompUni("<G> <A>", 0x391)
 CheckCompUni("<G> <B>", 0x392)
@@ -4972,6 +4987,8 @@ CheckCompUni("<acute> <z>", 0x17A)
 CheckCompUni("<c> <Z>", 0x17D)
 CheckCompUni("<c> <z>", 0x17E)
 }
+
+
 /*
    ------------------------------------------------------
    Methoden zum Senden von Unicode-Zeichen
@@ -5005,6 +5022,8 @@ SendUnicodeChar(charCode1, charCode2) {
 EncodeInteger(ref,val) {
   DllCall("ntdll\RtlFillMemoryUlong","Uint",ref,"Uint",4,"Uint",val)
 }
+
+
 /*
    ------------------------------------------------------
    BildschirmTastatur
@@ -5161,4 +5180,6 @@ ToggleAlwaysOnTop:
     alwaysOnTop = 1
   }
 Return
+
+
 
\ No newline at end of file
diff --git a/windows/autohotkey/neo20.exe b/windows/autohotkey/neo20.exe
index 4c63724..73ef87b 100644
Binary files a/windows/autohotkey/neo20.exe and b/windows/autohotkey/neo20.exe differ
-- 
cgit v1.2.3