From af7ad34be4a7238c15d17d9a7ca7cf4ef4fae0dd Mon Sep 17 00:00:00 2001 From: mösi Date: Wed, 19 Nov 2008 13:26:59 +0000 Subject: 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 --- windows/neo-vars/src/source/keydefinitions.ahk | 2 +- windows/neo-vars/src/source/screenkeyboard.ahk | 12 ++++++++++++ windows/neo-vars/src/source/varsfunctions.ahk | 4 ++++ 3 files changed, 17 insertions(+), 1 deletion(-) (limited to 'windows/neo-vars/src') 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() } } -- cgit v1.2.3