summaryrefslogtreecommitdiffstats
path: root/windows/autohotkey/Build-Update.bat
diff options
context:
space:
mode:
authordennis <dennis@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-09-16 16:47:24 +0000
committerdennis <dennis@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-09-16 16:47:24 +0000
commit4b890410dbeb33650d727794fc79fc1589dd84fc (patch)
tree20f8c6f568ff4353bab433b87eb89e3f7dcca689 /windows/autohotkey/Build-Update.bat
parente5b6234e2b0888852468f360a0f21fb67c68a894 (diff)
Build-Skript überarbeitet, so dass die Pfade zentral geändert werden können.
git-svn-id: https://svn.neo-layout.org@899 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows/autohotkey/Build-Update.bat')
-rw-r--r--windows/autohotkey/Build-Update.bat26
1 files changed, 17 insertions, 9 deletions
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