summaryrefslogtreecommitdiff
path: root/windows/ahk-auslaufend/Build-Update.bat
diff options
context:
space:
mode:
authordennis <dennis@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-01-10 16:33:14 +0000
committerdennis <dennis@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-01-10 16:33:14 +0000
commit6d0b9db7e1dfa23ee0204b0a57847c4126e2500a (patch)
treee804fab2b736b632fb304bc92415ed9692b7e57c /windows/ahk-auslaufend/Build-Update.bat
parentc20fbca2ebad005b2c981dec0db4ae5a7b824797 (diff)
downloadneo-layout-6d0b9db7e1dfa23ee0204b0a57847c4126e2500a.tar.gz
neo-layout-6d0b9db7e1dfa23ee0204b0a57847c4126e2500a.tar.bz2
neo-layout-6d0b9db7e1dfa23ee0204b0a57847c4126e2500a.zip
Der »alte« AHK-Treiber ist als »deprecated« einzustufen. Der Namenswechsel des Verzeichnis soll dies wiederspielen und eventuelle »Gewohnheitsfehler« vermeiden.
git-svn-id: https://svn.neo-layout.org@1423 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows/ahk-auslaufend/Build-Update.bat')
-rw-r--r--windows/ahk-auslaufend/Build-Update.bat30
1 files changed, 30 insertions, 0 deletions
diff --git a/windows/ahk-auslaufend/Build-Update.bat b/windows/ahk-auslaufend/Build-Update.bat
new file mode 100644
index 0000000..c8efd57
--- /dev/null
+++ b/windows/ahk-auslaufend/Build-Update.bat
@@ -0,0 +1,30 @@
+@echo off
+
+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 %fn%
+
+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" + "Keys-Numbers.ahk" + "Keys-Special.ahk" + "Keys-Numpad.ahk" + "Keys-DeadKeys.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 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? 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