From 5583725803b878dc364b6a675e6421422fc5bdc0 Mon Sep 17 00:00:00 2001 From: dennis Date: Fri, 27 Jun 2008 11:25:06 +0000 Subject: Compose-Playground.ahk in eigenes Verzeichnis ausgelagert und in zwei Teile aufgesplittet. git-svn-id: https://svn.neo-layout.org@580 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- .../autohotkey/Compose/Compose-Combinations.ahk | 95 ++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 windows/autohotkey/Compose/Compose-Combinations.ahk (limited to 'windows/autohotkey/Compose/Compose-Combinations.ahk') diff --git a/windows/autohotkey/Compose/Compose-Combinations.ahk b/windows/autohotkey/Compose/Compose-Combinations.ahk new file mode 100644 index 0000000..b75505c --- /dev/null +++ b/windows/autohotkey/Compose/Compose-Combinations.ahk @@ -0,0 +1,95 @@ +/* +******************************************* + Compose-Kombinationen +******************************************* + +Diese sollen später automatisch generiert werden. + +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 ;) +*/ + + +; "©" # copyright +:*O?ZC:oc:: + if (composeActive) { + send © + composeActive := 0 + } else { + send oc + } +Return + +; <1> <2> "½" # FRACTION 1/2 +:*O?ZC:12:: + if (composeActive) { + send ½ + composeActive := 0 + } else { + send 12 + } +Return + + +; <2> <0> "xx" # SMALL ROMAN NUMERAL 20 +:*O?ZC:r20:: + if (composeActive) { + send xx + composeActive := 0 + } else { + send 20 + } +Return + +; <2> <0> <0> "cc" # SMALL ROMAN NUMERAL 200 +:*O?ZC:r200:: + if (composeActive) { + send cc + composeActive := 0 + } else { + send 200 + } +Return + +; <2> <0> <0> <0> "mm" # SMALL ROMAN NUMERAL 2000 +:*O?ZC:r2000:: + if (composeActive) { + send mm + composeActive := 0 + } else { + send 2000 + } +Return + +; <3> <9> <9> <9> "mmmcmxcix" # SMALL ROMAN NUMERAL 3999 +:*O?ZC:r3999:: + if (composeActive) { + send mmmcmxcix + composeActive := 0 + } else { + send 3999 + } +Return + +; <2> <0> <0> <0> "\u216f\u216f" # ROMAN NUMERAL 2000 +:*O?ZC:R2000:: + if (composeActive) { + SendUnicodeChar(0x216F) + SendUnicodeChar(0x216f) + composeActive := 0 + } else { + send 2000 + } +Return + +;*******************************************/ +; Ende +;*******************************************/ + -- cgit v1.2.3