summaryrefslogtreecommitdiffstats
path: root/windows/neo-vars/src
diff options
context:
space:
mode:
authormösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-11-19 13:26:59 +0000
committermösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-11-19 13:26:59 +0000
commitaf7ad34be4a7238c15d17d9a7ca7cf4ef4fae0dd (patch)
treefc899a25b44c45552e812d56bfb8bc4517d32f49 /windows/neo-vars/src
parent37392f30fe099e1d98a4e80005a1fa7aef465c5b (diff)
Mod4+F8 is back, schaltet AlwaysOnTop der Bildschirmtastatur ein und aus.
git-svn-id: https://svn.neo-layout.org@1224 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows/neo-vars/src')
-rw-r--r--windows/neo-vars/src/source/keydefinitions.ahk2
-rw-r--r--windows/neo-vars/src/source/screenkeyboard.ahk12
-rw-r--r--windows/neo-vars/src/source/varsfunctions.ahk4
3 files changed, 17 insertions, 1 deletions
diff --git a/windows/neo-vars/src/source/keydefinitions.ahk b/windows/neo-vars/src/source/keydefinitions.ahk
index 5b1c23c..85124da 100644
--- a/windows/neo-vars/src/source/keydefinitions.ahk
+++ b/windows/neo-vars/src/source/keydefinitions.ahk
@@ -83,7 +83,7 @@ ED("F4" ,0,"S__F4","S__F4","" ,"" ,"" ,"")
ED("F5" ,0,"S__F5","S__F5","" ,"" ,"" ,"")
ED("F6" ,0,"S__F6","S__F6","" ,"" ,"" ,"")
ED("F7" ,0,"S__F7","S__F7","" ,"" ,"" ,"")
-ED("F8" ,0,"S__F8","S__F8","" ,"" ,"" ,"")
+ED("F8" ,0,"S__F8","S__F8","" ,"PBSTA","" ,"")
ED("F9" ,0,"S__F9","S__F9","" ,"P_LMt","" ,"")
ED("F10" ,0,"S_F10","S_F10","" ,"P_EHt","" ,"")
ED("F11" ,0,"S_F11","S_F11","" ,"PLnSt","" ,"")
diff --git a/windows/neo-vars/src/source/screenkeyboard.ahk b/windows/neo-vars/src/source/screenkeyboard.ahk
index 0bbf70c..4356126 100644
--- a/windows/neo-vars/src/source/screenkeyboard.ahk
+++ b/windows/neo-vars/src/source/screenkeyboard.ahk
@@ -26,5 +26,17 @@ BSTToggle() {
BSTEbeneAlt := 1
guiErstellt := 1
BSTSwitch(EbeneC)
+ alwaysOnTop := 1
+ }
+}
+
+BSTToggleAlwaysOnTop() {
+ global
+ if (alwaysOnTop) {
+ Gui, -AlwaysOnTop
+ alwaysOnTop := 0
+ } else {
+ Gui, +AlwaysOnTop
+ alwaysOnTop := 1
}
}
diff --git a/windows/neo-vars/src/source/varsfunctions.ahk b/windows/neo-vars/src/source/varsfunctions.ahk
index e0fded9..05fe8cd 100644
--- a/windows/neo-vars/src/source/varsfunctions.ahk
+++ b/windows/neo-vars/src/source/varsfunctions.ahk
@@ -419,6 +419,10 @@ CharProc(subroutine) {
} else if (subroutine == "BSTt") {
; Bildschirmtastatur Ein/Aus
BSTToggle()
+ } else if (subroutine == "BSTA") {
+ ; Bildschirmtastatur AlwaysOnTop
+ if (guiErstellt)
+ BSTToggleAlwaysOnTop()
}
}