summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
Diffstat (limited to 'windows')
-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()
}
}