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