diff options
author | mösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2012-09-24 10:53:18 +0000 |
---|---|---|
committer | mösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2012-09-24 10:53:18 +0000 |
commit | 555e05a3a78db3cb8c2e3df112536e90d554166c (patch) | |
tree | d0ccece257587191494a42e90abe53ab8301c43b /windows | |
parent | e824932bbe380770879622ab9283241904a23f71 (diff) | |
download | neo-layout-555e05a3a78db3cb8c2e3df112536e90d554166c.tar.gz neo-layout-555e05a3a78db3cb8c2e3df112536e90d554166c.tar.bz2 neo-layout-555e05a3a78db3cb8c2e3df112536e90d554166c.zip |
Rudimentäre NordTast-Varianten-Speicherfunktion über M4+F12 eingebaut.
git-svn-id: https://svn.neo-layout.org@2428 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows')
-rw-r--r-- | windows/neo-vars/src/source/nordtast.ahk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/windows/neo-vars/src/source/nordtast.ahk b/windows/neo-vars/src/source/nordtast.ahk index ced005e..8655c79 100644 --- a/windows/neo-vars/src/source/nordtast.ahk +++ b/windows/neo-vars/src/source/nordtast.ahk @@ -185,10 +185,25 @@ CharProcNordT0() { ED1256("035",1,"j","J","θ","Θ")
}
+CharProcNordTs() {
+ global
+
+ if (isNordTast == 0)
+ IniDelete,%ini%,Global,isNordTast
+ else
+ IniWrite,%isNordTast%,%ini%,Global,isNordTast
+
+ if ErrorLevel
+ TrayTip,NordTast-Belegungsvariante,Beim Speichern der Variante ist ein Fehler aufgetreten.,10,1
+ else if (zeigeModusBox)
+ TrayTip,NordTast-Belegungsvariante,Variante gespeichert.,10,1
+}
+
ActivateNordTast() {
global
CP3F12 := "PNordTt" ; M3+F12: Aktiviere/Deaktiviere NordTast
+ CP4F12 := "PNordTs" ; M4+F12: Speichere NordTast
IniRead,isNordTast,%ini%,Global,isNordTast,0
if (isNordTast == 1)
|