summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2010-01-10 01:26:18 +0000
committermösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2010-01-10 01:26:18 +0000
commit0a033ff4bd40c1771c745806c8fe103e134ab131 (patch)
treebb54ea26458ab6aefefd66928c2d55b614294a5f
parentcf9bfac525c1e193d8fae0e7e910edf8d5102376 (diff)
downloadneo-layout-0a033ff4bd40c1771c745806c8fe103e134ab131.tar.gz
neo-layout-0a033ff4bd40c1771c745806c8fe103e134ab131.tar.bz2
neo-layout-0a033ff4bd40c1771c745806c8fe103e134ab131.zip
Wie konnte ich das jemals so eintragen??? Besser so, wird auch schon längst für custom.ahk verwendet.
git-svn-id: https://svn.neo-layout.org@2141 b9310e46-f624-0410-8ea1-cfbb3a30dc96
-rw-r--r--windows/neo-vars/src/source/initialize.ahk9
1 files changed, 2 insertions, 7 deletions
diff --git a/windows/neo-vars/src/source/initialize.ahk b/windows/neo-vars/src/source/initialize.ahk
index 97f069b..8881843 100644
--- a/windows/neo-vars/src/source/initialize.ahk
+++ b/windows/neo-vars/src/source/initialize.ahk
@@ -39,14 +39,9 @@ NEOScrollLockLEDState := "Off"
SetNEOLockStates()
OnExit, exitprogram
-EnvGet, WindowsEnvAppDataFolder, APPDATA
-if (WindowsEnvAppDataFolder == "") {
- EnvGet, WindowsEnvAppDataFolder, USERPROFILE
- WindowsEnvAppDataFolder .= "\Anwendungsdaten"
-}
-ApplicationFolder = %WindowsEnvAppDataFolder%\Neo2
+ApplicationFolder := A_AppData . "\Neo2"
FileCreateDir, %ApplicationFolder%
-ini = %ApplicationFolder%\Neo2.ini
+ini := ApplicationFolder . "\Neo2.ini"
IniRead,zeigeLockBox,%ini%,Global,zeigeLockBox,1
IniRead,zeigeModusBox,%ini%,Global,zeigeModusBox,1