From 5d175bb1682fb1cfe473431761f07fcd046b84d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?m=C3=B6si?= Date: Fri, 19 Feb 2010 08:55:07 +0000 Subject: =?UTF-8?q?Font-Zip-Datei=20und=20unzip.exe=20werden=20jetzt=20in?= =?UTF-8?q?=20den=20tempor=C3=A4ren=20Ordner=20geladen,=20die=20eigentlich?= =?UTF-8?q?e=20Font-Datei=20bleibt=20im=20Applikationsordner.=20Die=20Font?= =?UTF-8?q?-Resource=20wird=20jetzt=20nach=20Verwendung=20des=20Fonts=20sa?= =?UTF-8?q?uber=20entladen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.neo-layout.org@2168 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- windows/neo-vars/src/source/screenkeyboard_new.ahk | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/windows/neo-vars/src/source/screenkeyboard_new.ahk b/windows/neo-vars/src/source/screenkeyboard_new.ahk index 2687fb3..ab3a85b 100644 --- a/windows/neo-vars/src/source/screenkeyboard_new.ahk +++ b/windows/neo-vars/src/source/screenkeyboard_new.ahk @@ -5,7 +5,7 @@ BSTNalwaysOnTop := 1 CP3F2 := "P_BSTNt" -UnZipLocalFile := ApplicationFolder . "\unzip.exe" +UnZipLocalFile := ResourceFolder . "\unzip.exe" UnZipSourceLink := "http://stahlworks.com/dev/unzip.exe" UniFontVersion := "2.30" @@ -13,11 +13,12 @@ UniFontFilename := "DejaVuSans-Bold.ttf" UniFontName := "DejaVu Sans" UniFontZipFilename := "dejavu-fonts-ttf-" . UniFontVersion . ".zip" -UniFontZipLocalFile := ApplicationFolder . "\" . UniFontZipFilename +UniFontZipLocalFile := ResourceFolder . "\" . UniFontZipFilename UniFontZipSourceLink := "http://downloads.sourceforge.net/project/dejavu/dejavu/" . UniFontVersion . "/" . UniFontZipFilename -UniFontLocalFile := ApplicationFolder . "/" . UniFontFilename +UniFontLocalFilePath := ApplicationFolder +UniFontLocalFile := UniFontLocalFilePath . "/" . UniFontFilename UniFontZipFontPath := "dejavu-fonts-ttf-" . UniFontVersion . "/ttf/" . UniFontFilename BSTNUpdate() { @@ -92,6 +93,7 @@ BSTNToggle() { if (BSTNguiErstellt) { BSTNguiErstellt := 0 Gui, Destroy + DllCall( "GDI32.DLL\RemoveFontResourceEx", Str, UniFontLocalFile ,UInt,(FR_PRIVATE:=0x10), Int,0) } else { if (FileExist(ResourceFolder)!="") { FileInstall,ebene0.png,%ResourceFolder%\ebene0.png,1 @@ -112,7 +114,7 @@ BSTNToggle() { } Progress,80,Entpacken des Archivs ... - RunWait,% """" . UnZipLocalFile . """ -j """ . UniFontZipLocalFile . """ """ . UniFontZipFontPath . """",%ApplicationFolder%,Hide + RunWait,% """" . UnZipLocalFile . """ -j """ . UniFontZipLocalFile . """ """ . UniFontZipFontPath . """",%UniFontLocalFilePath%,Hide Progress,OFF } -- cgit v1.2.3