summaryrefslogtreecommitdiffstats
path: root/windows
diff options
context:
space:
mode:
authordennis <dennis@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-06-27 13:54:39 +0000
committerdennis <dennis@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-06-27 13:54:39 +0000
commit7b3eb8c787394811e8704ec47005307507818ad0 (patch)
tree154a2f3d2b744105882a26fc0a24dcf34be25db0 /windows
parente017fb58d4be53883e5a111b87eca71ee85e8d2d (diff)
Test mit umgemappten Tasten (bisher leider ohne Erfolg).
git-svn-id: https://svn.neo-layout.org@582 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows')
-rw-r--r--windows/autohotkey/Compose/Compose-Combinations.ahk27
-rw-r--r--windows/autohotkey/Compose/Compose-Methods.ahk45
-rw-r--r--windows/autohotkey/Compose/Compose-all-in-one.ahk99
3 files changed, 128 insertions, 43 deletions
diff --git a/windows/autohotkey/Compose/Compose-Combinations.ahk b/windows/autohotkey/Compose/Compose-Combinations.ahk
index b75505c..4be944b 100644
--- a/windows/autohotkey/Compose/Compose-Combinations.ahk
+++ b/windows/autohotkey/Compose/Compose-Combinations.ahk
@@ -5,15 +5,36 @@
Diese sollen später automatisch generiert werden.
-Bedeutung der Parameter im Keystring
-(Quelle: http://www.autohotkey.com/docs/Hotstrings.htm):
+
+********************************************
+* Zu Testzwecken aufgenommene Kombinationen
+* (in der Linux-Schreibweise)
+********************************************
+
+<Multi_key> <o> <c> "©" # copyright
+<Multi_key> <1> <2> "½" # FRACTION 1/2
+<Multi_key> <r> <2> <0> "xx" # SMALL ROMAN NUMERAL 20
+<Multi_key> <r> <2> <0> <0> "cc" # SMALL ROMAN NUMERAL 200
+<Multi_key> <r> <2> <0> <0> <0> "mm" # SMALL ROMAN NUMERAL 2000
+<Multi_key> <r> <3> <9> <9> <9> "mmmcmxcix" # SMALL ROMAN NUMERAL 3999
+<Multi_key> <R> <2> <0> <0> <0> "\u216f\u216f" # ROMAN NUMERAL 2000
+
+
+********************************************
+* Bedeutung der Parameter im Keystring
+* (Quelle: http://www.autohotkey.com/docs/Hotstrings.htm)
+********************************************
* (asterisk): An ending character (e.g. space, period, or enter) is not required to trigger the hotstring.
O: Omit the ending character of auto-replace hotstrings when the replacement is produced. This is useful when you want a hotstring to be kept unambiguous by still requiring an ending character, but don't actually want the ending character to be shown on the screen.
? (question mark): The hotstring will be triggered even when it is inside another word; that is, when the character typed immediately before it is alphanumeric.
Z: This rarely-used option resets the hotstring recognizer after each triggering of the hotstring. In other words, the script will begin waiting for an entirely new hotstring, eliminating from consideration anything you previously typed. This can prevent unwanted triggerings of hotstrings.
ob * und O gleichzeitig gebraucht werden... vielleicht ist das O überflüssig :)
-Beim Z bin ich mir auch nicht ganz sicher. Aber es funktioniert halt ;)
+Beim Z bin ich mir auch nicht ganz sicher. Aber es funktioniert halt ;)
+
+*******************************************
+ Hier beginnt der eigentliche Code
+*******************************************
*/
diff --git a/windows/autohotkey/Compose/Compose-Methods.ahk b/windows/autohotkey/Compose/Compose-Methods.ahk
index c7acc29..42bfd19 100644
--- a/windows/autohotkey/Compose/Compose-Methods.ahk
+++ b/windows/autohotkey/Compose/Compose-Methods.ahk
@@ -26,30 +26,22 @@ damit dies aber nicht unendlich lange geht (also erst ein paar Wörter später
eine Ersetzung erfolgt, weil nach Compose doch umentschieden wurde), wird mit
Space (vielleicht auch später mit anderen Tasten) compose wieder deaktiviert.
-
-********************************************
-* Zu Testzwecken aufgenommene Kombinationen
-* (in der Linux-Schreibweise)
-********************************************
-
-<Multi_key> <o> <c> "©" # copyright
-<Multi_key> <1> <2> "½" # FRACTION 1/2
-<Multi_key> <r> <2> <0> "xx" # SMALL ROMAN NUMERAL 20
-<Multi_key> <r> <2> <0> <0> "cc" # SMALL ROMAN NUMERAL 200
-<Multi_key> <r> <2> <0> <0> <0> "mm" # SMALL ROMAN NUMERAL 2000
-<Multi_key> <r> <3> <9> <9> <9> "mmmcmxcix" # SMALL ROMAN NUMERAL 3999
-<Multi_key> <R> <2> <0> <0> <0> "\u216f\u216f" # ROMAN NUMERAL 2000
-
*******************************************
* Offene und noch zu lösende Probleme:
*******************************************
+- Anscheinend funktionieren die Compose-Kombinationen nicht mit umgemappten
+ Tasten?
- {compose}r200 und {compose}r2000 können nicht eingegeben werden,
- da zuvor {compose}r20 erkannt wird
+ da zuvor {compose}r20 erkannt und sofort verarbeitet wird
+
+- Können mit den Hotkeys auch die toten Tasten erzeugt werden, z.B.
+ (in Linux-Schreibweise):
+ <dead_stroke> <o> : "ø" # LATIN SMALL LETTER O WITH STROKE
- Unbedingt die folgende noch fehlende Dokumentation ergänzen, damit die
- Compose-Kombinationen von Dennis automatisch aus den Linux-Sourcen
- generiert werden können: Wann/wofür benutzt man:
+ Compose-Kombinationen von automatisch aus den Linux-Sourcen
+ generiert werden können: Wofür bzw. wann benutzt man:
send a
@@ -57,6 +49,12 @@ Space (vielleicht auch später mit anderen Tasten) compose wieder deaktiviert.
send {blind} a
+ sendinput a
+
+
+ sendinput {blind}a
+
+
SendUnicodeChar(0x0061)
@@ -77,7 +75,7 @@ Space (vielleicht auch später mit anderen Tasten) compose wieder deaktiviert.
*******************************************
- {compose}r2000 und {compose}R2000 werden jetzt unterschieden:
- Alle Keystrings sind jetzt Case-sensitive (Parameter c)
+ Alle Keystrings sind jetzt Case-sensitive (Parameter C)
*/
@@ -114,7 +112,18 @@ IsMod3Pressed()
return ( GetKeyState("CapsLock","P") or GetKeyState("#","P") ) ; # = SC02B
}
+; Test: Funktionieren die Compose-Kombinationen auch noch, wenn Tasten umgemappt werden?
+q::
+ send r
+return
+
+w::
+ send R
+return
+
/*
+*R:: sendinput {blind}r
+
********************************************
* Unicode-Methoden
********************************************
diff --git a/windows/autohotkey/Compose/Compose-all-in-one.ahk b/windows/autohotkey/Compose/Compose-all-in-one.ahk
index 54afea7..1488ef4 100644
--- a/windows/autohotkey/Compose/Compose-all-in-one.ahk
+++ b/windows/autohotkey/Compose/Compose-all-in-one.ahk
@@ -1,5 +1,31 @@
/*
*******************************************
+THIS IS A AUTO-GENERATED SCRIPT!
+
+DO NOT EDIT!
+
+INSTEAD, PLEASE EDIT THE FILES:
+
+
+Compose-Methods.ahk
+Compose-Warning.ahk
+...
+
+*******************************************
+*/
+
+
+
+
+
+
+
+
+
+
+
+/*
+*******************************************
* Über dieses Skript
*******************************************
Dies ist ein experimentelles Minimalbeispiel, um die noch fehlende
@@ -26,30 +52,22 @@ damit dies aber nicht unendlich lange geht (also erst ein paar Wörter später
eine Ersetzung erfolgt, weil nach Compose doch umentschieden wurde), wird mit
Space (vielleicht auch später mit anderen Tasten) compose wieder deaktiviert.
-
-********************************************
-* Zu Testzwecken aufgenommene Kombinationen
-* (in der Linux-Schreibweise)
-********************************************
-
-<Multi_key> <o> <c> "©" # copyright
-<Multi_key> <1> <2> "½" # FRACTION 1/2
-<Multi_key> <r> <2> <0> "xx" # SMALL ROMAN NUMERAL 20
-<Multi_key> <r> <2> <0> <0> "cc" # SMALL ROMAN NUMERAL 200
-<Multi_key> <r> <2> <0> <0> <0> "mm" # SMALL ROMAN NUMERAL 2000
-<Multi_key> <r> <3> <9> <9> <9> "mmmcmxcix" # SMALL ROMAN NUMERAL 3999
-<Multi_key> <R> <2> <0> <0> <0> "\u216f\u216f" # ROMAN NUMERAL 2000
-
*******************************************
* Offene und noch zu lösende Probleme:
*******************************************
+- Anscheinend funktionieren die Compose-Kombinationen nicht mit umgemappten
+ Tasten?
- {compose}r200 und {compose}r2000 können nicht eingegeben werden,
- da zuvor {compose}r20 erkannt wird
+ da zuvor {compose}r20 erkannt und sofort verarbeitet wird
+
+- Können mit den Hotkeys auch die toten Tasten erzeugt werden, z.B.
+ (in Linux-Schreibweise):
+ <dead_stroke> <o> : "ø" # LATIN SMALL LETTER O WITH STROKE
- Unbedingt die folgende noch fehlende Dokumentation ergänzen, damit die
- Compose-Kombinationen von Dennis automatisch aus den Linux-Sourcen
- generiert werden können: Wann/wofür benutzt man:
+ Compose-Kombinationen von automatisch aus den Linux-Sourcen
+ generiert werden können: Wofür bzw. wann benutzt man:
send a
@@ -57,6 +75,12 @@ Space (vielleicht auch später mit anderen Tasten) compose wieder deaktiviert.
send {blind} a
+ sendinput a
+
+
+ sendinput {blind}a
+
+
SendUnicodeChar(0x0061)
@@ -77,7 +101,7 @@ Space (vielleicht auch später mit anderen Tasten) compose wieder deaktiviert.
*******************************************
- {compose}r2000 und {compose}R2000 werden jetzt unterschieden:
- Alle Keystrings sind jetzt Case-sensitive (Parameter c)
+ Alle Keystrings sind jetzt Case-sensitive (Parameter C)
*/
@@ -114,7 +138,18 @@ IsMod3Pressed()
return ( GetKeyState("CapsLock","P") or GetKeyState("#","P") ) ; # = SC02B
}
+; Test: Funktionieren die Compose-Kombinationen auch noch, wenn Tasten umgemappt werden?
+q::
+ send r
+return
+
+w::
+ send R
+return
+
/*
+*R:: sendinput {blind}r
+
********************************************
* Unicode-Methoden
********************************************
@@ -159,7 +194,6 @@ EncodeInteger(ref, val)
DllCall("ntdll\RtlFillMemoryUlong", "Uint", ref, "Uint", 4, "Uint", val)
}
-
/*
*******************************************
Compose-Kombinationen
@@ -167,15 +201,36 @@ EncodeInteger(ref, val)
Diese sollen später automatisch generiert werden.
-Bedeutung der Parameter im Keystring
-(Quelle: http://www.autohotkey.com/docs/Hotstrings.htm):
+
+********************************************
+* Zu Testzwecken aufgenommene Kombinationen
+* (in der Linux-Schreibweise)
+********************************************
+
+<Multi_key> <o> <c> "©" # copyright
+<Multi_key> <1> <2> "½" # FRACTION 1/2
+<Multi_key> <r> <2> <0> "xx" # SMALL ROMAN NUMERAL 20
+<Multi_key> <r> <2> <0> <0> "cc" # SMALL ROMAN NUMERAL 200
+<Multi_key> <r> <2> <0> <0> <0> "mm" # SMALL ROMAN NUMERAL 2000
+<Multi_key> <r> <3> <9> <9> <9> "mmmcmxcix" # SMALL ROMAN NUMERAL 3999
+<Multi_key> <R> <2> <0> <0> <0> "\u216f\u216f" # ROMAN NUMERAL 2000
+
+
+********************************************
+* Bedeutung der Parameter im Keystring
+* (Quelle: http://www.autohotkey.com/docs/Hotstrings.htm)
+********************************************
* (asterisk): An ending character (e.g. space, period, or enter) is not required to trigger the hotstring.
O: Omit the ending character of auto-replace hotstrings when the replacement is produced. This is useful when you want a hotstring to be kept unambiguous by still requiring an ending character, but don't actually want the ending character to be shown on the screen.
? (question mark): The hotstring will be triggered even when it is inside another word; that is, when the character typed immediately before it is alphanumeric.
Z: This rarely-used option resets the hotstring recognizer after each triggering of the hotstring. In other words, the script will begin waiting for an entirely new hotstring, eliminating from consideration anything you previously typed. This can prevent unwanted triggerings of hotstrings.
ob * und O gleichzeitig gebraucht werden... vielleicht ist das O überflüssig :)
-Beim Z bin ich mir auch nicht ganz sicher. Aber es funktioniert halt ;)
+Beim Z bin ich mir auch nicht ganz sicher. Aber es funktioniert halt ;)
+
+*******************************************
+ Hier beginnt der eigentliche Code
+*******************************************
*/