summaryrefslogtreecommitdiff
path: root/windows/autohotkey/Build-Update.bat
diff options
context:
space:
mode:
authormartin_r <martin_r@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-08-18 19:25:20 +0000
committermartin_r <martin_r@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-08-18 19:25:20 +0000
commitc63134e1ac0522b643dffd4c71bcff2b27eab30d (patch)
treea016dc31193ff9e157f4a1502dee0f56a5ffc290 /windows/autohotkey/Build-Update.bat
parentfeb93d6b8ae1a59d0fbe479409906ad6a8f74620 (diff)
downloadneo-layout-c63134e1ac0522b643dffd4c71bcff2b27eab30d.tar.gz
neo-layout-c63134e1ac0522b643dffd4c71bcff2b27eab30d.tar.bz2
neo-layout-c63134e1ac0522b643dffd4c71bcff2b27eab30d.zip
Modularisierung des AHK konsequent weitergeführt.
neo20.txt: Ebenen 7 und 8 ergänzt, Ebenen 2 und 4 des Numpads vertauscht. Methods-Layers.ahk: Mod3-Lock abgeschafft, CapsLock neu geschrieben. + Viele kleine Änderungen. git-svn-id: https://svn.neo-layout.org@776 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows/autohotkey/Build-Update.bat')
-rw-r--r--windows/autohotkey/Build-Update.bat26
1 files changed, 8 insertions, 18 deletions
diff --git a/windows/autohotkey/Build-Update.bat b/windows/autohotkey/Build-Update.bat
index abb5937..deae939 100644
--- a/windows/autohotkey/Build-Update.bat
+++ b/windows/autohotkey/Build-Update.bat
@@ -1,33 +1,23 @@
@echo off
-
-echo Setting local path variables
-
-REM The path to the AutoHotkey program
-set ahk=C:\Programme\AutoHotkey
-
-REM The path to the AutoHohotkey directory in the local svn copy
-set svn=.
-
-REM Just some useful shortcuts:
-set scr="%svn%\Source"
+cd Source
set fn=neo20
-echo Killing the old (AHK)Driver
+rem echo Killing the old (AHK)Driver
REM tskill neo20-all-in-one
echo Creating a new Driver from the Source code
REM The order *is* important!
-copy "%scr%\Warning.ahk" + "%scr%\Global-Part.ahk" + "%scr%\Methods-Layers.ahk" + "%scr%\Keys-Qwert-to-Neo.ahk" + "%scr%\Keys-Neo.ahk" + "%scr%\Methods-Lights.ahk" + "%scr%\Methods-Other.ahk" + "%scr%\Methods-Unicode.ahk" + "%scr%\Methods-ScreenKeyboard.ahk" "%svn%\%fn%.ahk"
-REM if exist "%svn%\Compose\Compose-all-in-one.ahk" copy "%svn%\%fn%.ahk" + "%svn%\Compose\Compose-all-in-one.ahk" "%svn%\%fn%.ahk"
+copy "Global-Part.ahk" + "Methods-Layers.ahk" + "Keys-Qwert-to-Neo.ahk" + "Keys-Neo.ahk" + "Methods-Lights.ahk" + "Methods-Other.ahk" + "Methods-Unicode.ahk" + "Methods-ScreenKeyboard.ahk" "..\%fn%.ahk"
+REM if exist "..\Compose\Compose-all-in-one.ahk" copy "..\%fn%.ahk" + "..\Compose\Compose-all-in-one.ahk" "..\%fn%.ahk"
-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
-%fn%.exe
+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 hstart.exe /NOCONSOLE /D="%exe%" "%exe%\%fn%.exe" \ No newline at end of file
+REM hstart.exe /NOCONSOLE /D="." "%fn%.exe" \ No newline at end of file