From 302bba84d6161ed2c8451483677d8919f028a130 Mon Sep 17 00:00:00 2001 From: martin_r Date: Mon, 19 Jan 2009 00:32:53 +0000 Subject: Fix für Notepad++: Mod4+v wird als (BS) angezeigt, das wird mit zwei Backspaces wieder rückgängig gemacht und der eigentliche Rückschritt wird ausgeführt. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.neo-layout.org@1479 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- .../AHK_f\303\274r_kbdneo2/ahk_kbdneo2.ahk" | 95 ++++++++++++---------- 1 file changed, 50 insertions(+), 45 deletions(-) (limited to 'windows') diff --git "a/windows/kbdneo2/Treiber/AHK_f\303\274r_kbdneo2/ahk_kbdneo2.ahk" "b/windows/kbdneo2/Treiber/AHK_f\303\274r_kbdneo2/ahk_kbdneo2.ahk" index e5e5466..e99d616 100644 --- "a/windows/kbdneo2/Treiber/AHK_f\303\274r_kbdneo2/ahk_kbdneo2.ahk" +++ "b/windows/kbdneo2/Treiber/AHK_f\303\274r_kbdneo2/ahk_kbdneo2.ahk" @@ -13,7 +13,6 @@ isMod4Locked := 0 isMod4Active := 0 - ~F24::return @@ -142,47 +141,53 @@ if (isMod4Active and !isMod3Pressed) Sendinput {Blind}{PGUP} return -~l:: -if (isMod4Active and !isMod3Pressed) -Sendinput {Blind}{UP} -return - -~c:: -if (isMod4Active and !isMod3Pressed) -Sendinput {Blind}{DEL} -return - -~w:: -if (isMod4Active and !isMod3Pressed) -Sendinput {Blind}{INS} -return - -~u:: -if (isMod4Active and !isMod3Pressed) -Sendinput {Blind}{HOME} -return - -~i:: -if (isMod4Active and !isMod3Pressed) -Sendinput {Blind}{LEFT} -return - -~a:: -if (isMod4Active and !isMod3Pressed) -Sendinput {Blind}{DOWN} -return - -~e:: -if (isMod4Active and !isMod3Pressed) -Sendinput {Blind}{RIGHT} -return - -~o:: -if (isMod4Active and !isMod3Pressed) -Sendinput {Blind}{END} -return - -~ä:: -if (isMod4Active and !isMod3Pressed) -Sendinput {Blind}{PGDN} -return +~v:: +if (isMod4Active and !isMod3Pressed) +Ifwinactive ahk_class Notepad++ +Sendinput {Blind}{BACKSPACE}{BACKSPACE} +return + +~l:: +if (isMod4Active and !isMod3Pressed) +Sendinput {Blind}{UP} +return + +~c:: +if (isMod4Active and !isMod3Pressed) +Sendinput {Blind}{DEL} +return + +~w:: +if (isMod4Active and !isMod3Pressed) +Sendinput {Blind}{INS} +return + +~u:: +if (isMod4Active and !isMod3Pressed) +Sendinput {Blind}{HOME} +return + +~i:: +if (isMod4Active and !isMod3Pressed) +Sendinput {Blind}{LEFT} +return + +~a:: +if (isMod4Active and !isMod3Pressed) +Sendinput {Blind}{DOWN} +return + +~e:: +if (isMod4Active and !isMod3Pressed) +Sendinput {Blind}{RIGHT} +return + +~o:: +if (isMod4Active and !isMod3Pressed) +Sendinput {Blind}{END} +return + +~ä:: +if (isMod4Active and !isMod3Pressed) +Sendinput {Blind}{PGDN} +return -- cgit v1.2.3