summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2014-08-07 14:48:13 +0000
committermösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2014-08-07 14:48:13 +0000
commit7bd8862784229752bdb694fe3897211a8d8fc909 (patch)
tree2f80cae7f01e1c1ae0a7804465084242e0c494ec
parentab0fa231d655dca88b3ccfd6f0fa36b8499baa21 (diff)
downloadneo-layout-7bd8862784229752bdb694fe3897211a8d8fc909.tar.gz
neo-layout-7bd8862784229752bdb694fe3897211a8d8fc909.tar.bz2
neo-layout-7bd8862784229752bdb694fe3897211a8d8fc909.zip
M4+F6 erlaubt das einfache Speichern der qwertz-Alternative in der Registry.
git-svn-id: https://svn.neo-layout.org@2444 b9310e46-f624-0410-8ea1-cfbb3a30dc96
-rw-r--r--windows/neo-vars/src/source/qwertz.ahk15
1 files changed, 15 insertions, 0 deletions
diff --git a/windows/neo-vars/src/source/qwertz.ahk b/windows/neo-vars/src/source/qwertz.ahk
index f43955c..4da54ee 100644
--- a/windows/neo-vars/src/source/qwertz.ahk
+++ b/windows/neo-vars/src/source/qwertz.ahk
@@ -28,10 +28,25 @@ CharProcQwerT0() {
Change1256LayoutNeo20()
}
+CharProcQwerts() {
+ global
+
+ if (isQwertz == 0)
+ IniDelete,%ini%,Global,isQwertz
+ else
+ IniWrite,%isQwertz%,%ini%,Global,isQwertz
+
+ if ErrorLevel
+ TrayTip,Qwertz-Belegungsvariante,Beim Speichern der Variante ist ein Fehler aufgetreten.,10,1
+ else if (zeigeModusBox)
+ TrayTip,Qwertz-Belegungsvariante,Variante gespeichert.,10,1
+}
+
ActivateQwertz() {
global
CP3F6 := "PQwertt" ; M3+F6: Aktiviere/Deaktiviere QWERTZ
+ CP4F6 := "PQwerts" ; M4+F6: Speichere QWERTZ
IniRead,isQwertz,%ini%,Global,isQwertz,0
if (isQwertz == 1)