2008-07-02 16:24:25 +02:00
@ echo off
2008-09-16 18:47:24 +02:00
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:
2008-07-18 13:34:22 +02:00
set fn = neo20
2008-07-02 13:52:30 +02:00
2008-08-18 21:25:20 +02:00
rem echo Killing the old (AHK)Driver
2008-09-16 18:47:24 +02:00
rem tskill %fn%
2008-07-02 13:52:30 +02:00
2008-09-16 18:47:24 +02:00
echo Creating a new joined script from the Source code
cd " %svn% \Source "
2008-07-02 16:06:46 +02:00
REM The order *is* important!
2008-10-17 19:00:59 +02:00
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 "
2008-09-16 18:47:24 +02:00
cd ..
echo Compiling the new Driver using Autohotkey
" %ahk% \Compiler\Ahk2Exe.exe " /in " %svn% \ %fn% .ahk " /out " %svn% \ %fn% .exe " /icon " %svn% \neo.ico "
2008-07-02 13:52:30 +02:00
echo Driver Update complete! You can now close this log-window.
2008-07-08 19:02:22 +02:00
2008-07-02 13:52:30 +02:00
REM Start the new Driver
2008-08-18 21:25:20 +02:00
rem %fn%.exe
2008-07-08 19:02:22 +02:00
2008-09-16 18:47:24 +02:00
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<72> r jedoch extere Programme, etwa:
REM Start the new driver asynchronously, using "Hidden Start" (hstart.exe) from http://www.ntwind.com/software/utilities/hstart/
2008-08-18 21:25:20 +02:00
REM hstart.exe /NOCONSOLE /D="." "%fn%.exe"