root/windows/autohotkey/Build-Update.bat @ 746

Revision 746, 1.5 KB (checked in by martin_r, 5 years ago)

Zerschossene Lang-s-Tastatur wiederhergestellt
Esc(4) setzt Tastatur zurück
Variablen Ebene7 und Ebene8 zum Abfragen eingeführt
#(2L)-Bug behoben
Korrektur gelesen

Line 
1@echo off
2
3echo Setting local path variables
4
5REM The path to the AutoHotkey program
6set ahk=C:\Programme\AutoHotkey
7
8REM The path to the AutoHohotkey directory in the local svn copy
9set svn=.
10
11REM Just some useful shortcuts:
12set scr="%svn%\Source"
13set fn=neo20
14
15echo Killing the old (AHK)Driver
16REM tskill neo20-all-in-one
17
18echo Creating a new Driver from the Source code
19REM The order *is* important!
20copy "%scr%\Warning.ahk" + "%scr%\Changelog-and-Todo.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"
21REM if exist "%svn%\Compose\Compose-all-in-one.ahk" copy "%svn%\%fn%.ahk" + "%svn%\Compose\Compose-all-in-one.ahk" "%svn%\%fn%.ahk"
22
23echo Compiling the new Driver using AutoHotkey
24"%ahk%\Compiler\Ahk2Exe.exe" /in "%svn%\%fn%.ahk" /out "%svn%\%fn%.exe" /icon "%svn%\neo.ico"
25echo Driver Update complete! You can now close this log-window.
26
27REM Start the new Driver
28%fn%.exe
29
30rem wie kann man hier mit der Skriptabarbeitung weitermachen?
31rem Unter Windows XP scheint es nicht m�glich zu sein, dies mit "Bordmitteln" zu erreichen, es gibt hierf�r jedoch extere Programme, etwa
32REM echo Start the new driver asynchronously, using "Hidden Start" (hstart.exe) from http://www.ntwind.com/software/utilities/hstart/
33REM hstart.exe  /NOCONSOLE /D="%exe%" "%exe%\%fn%.exe"
Note: See TracBrowser for help on using the browser.