summaryrefslogtreecommitdiffstats
path: root/windows/neo-vars/src/source/initialize.ahk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--windows/neo-vars/src/source/initialize.ahk10
1 files changed, 9 insertions, 1 deletions
diff --git a/windows/neo-vars/src/source/initialize.ahk b/windows/neo-vars/src/source/initialize.ahk
index 86339c2..d6cacb0 100644
--- a/windows/neo-vars/src/source/initialize.ahk
+++ b/windows/neo-vars/src/source/initialize.ahk
@@ -34,7 +34,7 @@ disable=Deaktiviere %name%
#LTrim ; Quelltext kann eingerückt werden
SetCapsLockState Off
-Gosub, SaveNumLockState
+SaveNumLockState()
SetNumLockState Off
OnExit, exitprogram
SetScrollLockState Off
@@ -93,6 +93,14 @@ IsMod4Pressed := 0
IsMod4Locked := 0
EbeneAktualisieren := "NEOEbeneAktualisieren"
+SaveNumLockState() {
+ global
+ if GetKeyState("NumLock","T")
+ SavedNumLockState = On
+ else
+ SavedNumLockState = Off
+}
+
%EbeneAktualisieren%()
ActivateLayOut(inputlocale)