summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorerik <erik@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2007-04-19 20:25:50 +0000
committererik <erik@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2007-04-19 20:25:50 +0000
commitdf66db469fbd0987860ada2646a218363c79d7e7 (patch)
tree510977982c2e02fdf5fa13c1fe3c3a403637c255 /windows
parent3ff1dad72747b1fc1160d5be8cad0c1f23130b26 (diff)
downloadneo-layout-df66db469fbd0987860ada2646a218363c79d7e7.tar.gz
neo-layout-df66db469fbd0987860ada2646a218363c79d7e7.tar.bz2
neo-layout-df66db469fbd0987860ada2646a218363c79d7e7.zip
neue version von autohotkey-zeugs für nora hochgeladen
git-svn-id: https://svn.neo-layout.org@77 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows')
-rw-r--r--windows/XP/autohotkey/README.txt70
-rw-r--r--windows/XP/autohotkey/neo20-remap.ahk45
-rw-r--r--windows/XP/autohotkey/neo20.ahk856
3 files changed, 557 insertions, 414 deletions
diff --git a/windows/XP/autohotkey/README.txt b/windows/XP/autohotkey/README.txt
index d2af397..f4ea217 100644
--- a/windows/XP/autohotkey/README.txt
+++ b/windows/XP/autohotkey/README.txt
@@ -1,30 +1,40 @@
-== Installation ==
-Hierfür braucht man keine Administratorrechte, es muss jedoch zuerst ein
-Programm namens „autohotkey“
-(http://www.autohotkey.com/download/AutohotkeyInstall.exe) installiert werden.
-Dazu benötigt man KEINE Administratorrechte, wenn man das Programm
-beispielsweise in das Verzeichnis „Eigene Dateien/NEO“ installiert.
-
-=== ahk-Dateien ===
-Danach kann man .ahk-Skripte mit einem Doppelklick starten. Man erhält dann ein Systray-Icon, mit dem man das Skript vorübergehend deaktivieren (Suspend) oder
-komplett beenden kann.
-Wenn das Öffnen nicht direkt funktioniert: Öffnen mit -> Autohotkey.exe
-auswählen -> Immer mit diesem Programm öffnen.
-
-=== Automatischer Start ===
-Bei Bedarf kann man sich eine Verknüpfung mit neo20.ahk in den Autostart-Ordner
-legen, dann hat man das Layout direkt bei der Anmeldung.
-
-== Wie es funktioniert ==
-Das Programm kann alle Tastendrucke abfangen und statt dessen andere Tasten
-simulieren. Die Zeile
- a::send b
-fängt z. B. die Taste a ab und sendet statt dessen ein b.
-Die ahk-Dateien lassen sich mit einem Texteditor bearbeiten, man muss dann nur
-das Skript neu starten um die Änderungen zu übernehmen.
-
-== Bekannte Fehler ==
-AltGr scheint recht buggy zu sein, siehe
-http://www.autohotkey.com/forum/topic10169.html. Vielleicht hilft es, die
-Umbelegung von AltGr in eine Extra-Datei zu schreiben.
-
+== Installation ==
+Hierfr braucht man keine Administratorrechte, es muss jedoch zuerst das
+Programm namens autohotkey
+(http://www.autohotkey.com/download/AutohotkeyInstall.exe) installiert werden.
+Dazu bentigt man KEINE Administratorrechte, wenn man das Programm
+beispielsweise in das Verzeichnis Eigene Dateien/NEO installiert.
+
+=== ahk-Dateien ===
+Danach kann man .ahk-Skripte mit einem Doppelklick starten. Man erhlt
+dann ein Systray-Icon, mit dem man das Skript vorbergehend deaktivieren
+(Suspend) oder komplett beenden kann.
+Wenn das ffnen nicht direkt funktioniert: ffnen mit -> Autohotkey.exe
+auswhlen -> Immer mit diesem Programm ffnen.
+
+=== Automatischer Start ===
+Bei Bedarf kann man sich eine Verknpfung mit neo20.ahk in den
+Autostart-Ordner legen, dann hat man das Layout direkt bei der Anmeldung.
+
+== Wie es funktioniert ==
+Das Programm kann alle Tastendrucke abfangen und statt dessen andere Tasten
+simulieren. Die Zeile
+ a::send b
+fngt z. B. die Taste a ab und sendet statt dessen ein b.
+Die ahk-Dateien lassen sich mit einem Texteditor bearbeiten, man muss dann
+nur das Skript neu starten um die nderungen zu bernehmen.
+
+== Bekannte Fehler ==
+Das Umbelegen der Funktionstasten ist etwas buggy (siehe
+http://www.autohotkey.com/forum/topic10169.html) und wurde deshalb in
+eine Extradatei ausgelagert (neo20-remap.ahk).
+Verwendung auf eigene Gefahr, einfach beide Skripte starten.
+Problem: besonders auf der 6. Ebene kommt oft nur Control Down an,
+aber nicht das Up, dann bleibt Control aktiv - Lsung ist dann, einmal die
+normale Controltaste zu drcken.
+
+Soll mehr als ein Buchstabe auf einer hheren Ebene geschrieben werden,
+muss zwischendurch der Modifier losgelassen werden.
+
+Ohne die Remap-Datei kann die 5. Ebene mit Ctrl+Win erreicht werden
+(6. entsprechend mit Ctrl-Win-Shift). \ No newline at end of file
diff --git a/windows/XP/autohotkey/neo20-remap.ahk b/windows/XP/autohotkey/neo20-remap.ahk
new file mode 100644
index 0000000..5b93522
--- /dev/null
+++ b/windows/XP/autohotkey/neo20-remap.ahk
@@ -0,0 +1,45 @@
+/*
+ Umbelegung von AltGr auf CapsLock und #,
+ dafr Mod5 auf AltGr und <
+*/
+
+#singleinstance force
+#usehook on
+
+name = Umbelegung AltGr und Mod5
+menu, tray, tip, %name%
+
+; Fr 3. und 4. Ebene:
+; CapsLock und # (SC02B) werden zu AltGr (SC138):
+
+*CapsLock::
+*SC02B::
+Send {SC138 Down}
+return
+
+*CapsLock Up::
+*SC02B Up::
+Send {SC138 Up}
+return
+
+
+; Fr 5. und 6. Ebene:
+; < (SC056) und AltGr werden zu Win + Ctrl:
+;Code funktioniert noch nicht so ganz, manchmal kommt nur Control Down an, aber nicht das Up, dann bleibt Control aktiv - Lsung ist dann, einmal die normale Controltaste zu drcken
+; Was sonst noch helfen kann:
+; Nach dem Drcken des Modifiers einen kleinen Moment warten
+; Soll mehr als ein Buchstabe auf der 5.\6. Ebene geschrieben werden, zwischendurch den Modifier loslassen
+
+*SC056::
+*SC138::
+Send {RWin Down}
+Send {Control Down}
+return
+
+*SC056 Up::
+*SC138 Up::
+Send {Control Up}
+Send {RWin Up}
+return
+
+
diff --git a/windows/XP/autohotkey/neo20.ahk b/windows/XP/autohotkey/neo20.ahk
index 4c0b052..527edd1 100644
--- a/windows/XP/autohotkey/neo20.ahk
+++ b/windows/XP/autohotkey/neo20.ahk
@@ -5,17 +5,21 @@
5./6. Ebene noch gar nicht
*/
-;#InstallKeybdHook
-;#singleinstance force
+#InstallKeybdHook
;#notrayicon
+#singleinstance force
#hotkeyinterval 1024
#maxhotkeysperinterval 64
-setstorecapslockmode, on
+#Hotstring C * ?
+;setstorecapslockmode, off
+
+name = NEO-Layout 2.0
+enable = Aktiviere NEO
+disable = Deaktiviere NEO
-name = &NEO-Layout
-enable = Aktiviere &NEO
-disable = Deaktiviere &NEO
-;ctrls = &Strg Standard
+
+; berprfung auf deutsches Tastaturlayout
+; ----------------------------------------
regread, inputlocale, HKEY_CURRENT_USER, Keyboard Layout\Preload, 1
regread, inputlocalealias, HKEY_CURRENT_USER, Keyboard Layout\Substitutes, %inputlocale%
@@ -29,82 +33,34 @@ if inputlocale <> 00000407
exitapp
}
-stringtrimright, inifile, a_scriptname, 4
-inifile = %inifile%.ini
-iniread, firstrun, %inifile%, environment, firstRun, on
-if firstrun <> off
-{
- iniwrite, off, %inifile%, environment, firstRun
- gosub help
-}
-;menu, tray, nostandard
+; Men des Systray-Icons
+; ----------------------
+
+menu, tray, nostandard
+menu, tray, add, ffnen, open
+ menu, helpmenu, add, About, about
+ menu, helpmenu, add, Autohotkey-Hilfe, help
+ menu, helpmenu, add
+ menu, helpmenu, add, http://&autohotkey.com/, autohotkey
+ menu, helpmenu, add, http://www.neo-layout.org/, neo
+menu, tray, add, Hilfe, :helpmenu
menu, tray, add
menu, tray, add, %disable%, toggleneo
menu, tray, default, %disable%
-;menu, tray, add, %ctrls%, togglectrl
- menu, helpmenu, add, &Hilfe, help
- menu, helpmenu, add
- menu, helpmenu, add, http://&autohotkey.com/, autohotkey
- menu, helpmenu, add, http://www.eigenheimstrasse.de:8668/space/Computerecke/NEO-Tastaturlayout, neo
- ;menu, helpmenu, add, http://aoeu.&info/, aoeu
-menu, tray, add, &Dokumentation, :helpmenu
menu, tray, add
-menu, tray, add, Nicht &im &Systray &anzeigen, hide
+menu, tray, add, Edit, edit
+menu, tray, add, Reload, reload
+menu, tray, add
+menu, tray, add, Nicht im Systray anzeigen, hide
menu, tray, add, %name% beenden, exitprogram
menu, tray, tip, %name%
-/*
-iniread, scc, %inifile%, environment, neoCtrlChars, on
-gosub, setctrl
-menu, tray, icon
-blockinput, send
-*/
-/*
-;Senden von Unicode:
-Hotkey::
-MyUTF_String = {ASC xy}
-Gosub Unicode
-return
-*/
-
-
-; Fr 3. und 4. Ebene:
-; nach http://www.autohotkey.com/forum/topic5370.html
-; CapsLock und # werden zu AltGr:
-; [this didn't work: *CapsLock::Send {LCtrl} ]
-
-*CapsLock::
-*SC02B::
-Send {RAlt Down}
-Send {LControl Down}
-return
-
-*CapsLock Up::
-*SC02B Up::
-Send {RAlt Up}
-Send {LControl Up}
-return
-
-; Fr 5. und 6. Ebene:
-; < und AltGr werden zu LCtrl + RCtrl:
-/*
-*SC056::
-*SC138::
-Send {LControl Down}
-Send {RControl Down}
-return
-
-*SC056 Up::
-*SC138 Up::
-Send {LControl Up}
-Send {RControl Up}
-return
-*/
#usehook on
+
;1. Ebene
;---------
@@ -119,7 +75,7 @@ SC029::send {^} ;tot
8::send 8
9::send 9
0::send 0
-::send - ; Bind, Unicode?
+::send -
SC00D::send {} ;tot
q::send x
@@ -163,9 +119,8 @@ SC035::send j
;2. Ebene (Shift)
;---------
-+SC029:: ;?
-; 030C passiert bei mir nichts - 02C7 wre untot, geht auch nicht
-MyUTF_String = {ASC 2C7}
++SC029:: ; soll tot
+MyUTF_String = ˇ
Gosub Unicode
return
@@ -175,12 +130,17 @@ return
+4::send $
+5::send
+6::send
-+7::send ; wo ist Unterschied zu +1?
++7::send
+8::send
+9::send
+0::send
-+::send ; Ged, Unicode?
-+SC00D::send ``
+
++::
+MyUTF_String = –
+Gosub Unicode
+return
+
++SC00D::send `` ;tot
+q::send X
+w::send V
@@ -194,8 +154,8 @@ return
+p::send Q
+::send
-+SC01B:: ; Macron?? sollte tot sein...
-MyUTF_String = {ASC 0175}
++SC01B:: ; sollte tot sein...
+MyUTF_String = ˉ
Gosub Unicode
return
@@ -212,6 +172,7 @@ return
+::send Y
;SC02B (#) wird zu AltGr
+;SC056 (<) wird zu Mod5
+y::send
+x::send
+c::send
@@ -226,39 +187,57 @@ return
;3. Ebene (AltGr)
;---------
-<^>!SC029::send ? ; Siehe 2. Ebene
-<^>!1:: ;
-MyUTF_String = {ASC 172}
+<^>!SC029:: ; soll tot
+MyUTF_String = ˘
+Gosub Unicode
+return
+
+<^>!1::
+MyUTF_String = ¬
Gosub Unicode
return
-<^>!2::send ^ ;
-<^>!3::send 3 ;
-<^>!4::send ;
-<^>!5::send ;
-<^>!6::send ;
-<^>!7::send ;
+<^>!2::send {^}
+<^>!3::send 3
+<^>!4::send
+<^>!5::send
+<^>!6::send
+<^>!7::send
<^>!8::send
<^>!9::send
<^>!0::send
-<^>!::send ; soll ganz langer Strich sein
-<^>!SC00D::send ;
+
+<^>!::
+MyUTF_String = —
+Gosub Unicode
+return
+
+<^>!SC00D::send ; soll tot
<^>!q::send @
<^>!w::send _
<^>!e::send [
<^>!r::send ]
-<^>!t::send {^}
-<^>!z::send {!}
+<^>!t::send {^} ; tot, soll der untot sein?
+<^>!z::sendraw !
<^>!u::send <
<^>!i::send >
<^>!o::send `=
<^>!p::send `;
-<^>!::send ? ;
-<^>!SC01B::send ? ;
+
+<^>!::
+MyUTF_String = ij
+Gosub Unicode
+return
+
+<^>!SC01B:: ; ??
+MyUTF_String =
+Gosub Unicode
+return
+
<^>!a::send \
-<^>!s::send /
+<^>!s::send `/
<^>!d::sendraw {
<^>!f::sendraw }
<^>!g::send *
@@ -268,9 +247,9 @@ return
<^>!l::send -
<^>!::send :
<^>!::send y
-;SC02B (#) wird zu AltGr
-<^>!y::send ~
+
+<^>!y::sendraw ~
<^>!x::send $
<^>!c::send |
<^>!v::send {#}
@@ -285,237 +264,339 @@ return
;4. Ebene (AltGr+Shift)
;---------
-<^>!+SC029::send ;
-<^>!+1::send ;
+<^>!+SC029::send
+<^>!+1::send
<^>!+2::send
<^>!+3::send
-<^>!+4::send ;
-<^>!+5::send ;
-<^>!+6::send ;
-<^>!+7::send ;
-<^>!+8::send ;
-<^>!+9::send ;
-<^>!+0::send ;
-<^>!+::send ;
-<^>!+SC00D::send ;
-
-<^>!+q::send ?
+<^>!+4::send
+<^>!+5::send
+<^>!+6::send
+<^>!+7::send
+<^>!+8::send
+<^>!+9::send
+<^>!+0::send
+<^>!+::send
+
+<^>!+SC00D:: ; nicht tot
+MyUTF_String = ˛
+Gosub Unicode
+return
+
+
+<^>!+q:: ;xi
+MyUTF_String = ξ
+Gosub Unicode
+return
+
<^>!+w::send v
-<^>!+e::send ?
-<^>!+r::send ?
+
+<^>!+e:: ;lambda
+MyUTF_String = λ
+Gosub Unicode
+return
+
+<^>!+r:: ;chi
+MyUTF_String = χ
+Gosub Unicode
+return
+
<^>!+t::send w
-<^>!+z::send ?
-<^>!+u::send ?
-<^>!+i::send ?
-<^>!+o::send ?
+
+<^>!+z:: ;kappa
+MyUTF_String = κ
+Gosub Unicode
+return
+
+<^>!+u:: ;psi
+MyUTF_String = ψ
+Gosub Unicode
+return
+
+<^>!+i:: ;gamma
+MyUTF_String = γ
+Gosub Unicode
+return
+
+<^>!+o:: ;phi
+MyUTF_String = φ
+Gosub Unicode
+return
+
<^>!+p::send q
-<^>!+::send ?
-<^>!+SC01B::send {~} ;
+
+<^>!+:: ;IJ
+MyUTF_String = IJ
+Gosub Unicode
+return
+
+<^>!+SC01B::send " ;soll tot
<^>!+a::send u
-<^>!+s::send ?
-<^>!+d::send ?
-<^>!+f::send ?
-<^>!+g::send ?
-<^>!+h::send ?
-<^>!+j::send ?
-<^>!+k::send ?
-<^>!+l::send ?
-<^>!+::send ?
-<^>!+::send ?
-;SC02B (#) wird zu AltGr
+
+<^>!+s:: ;iota
+MyUTF_String = ι
+Gosub Unicode
+return
+
+<^>!+d:: ;alpha
+MyUTF_String = α
+Gosub Unicode
+return
+
+<^>!+f:: ;epsilon
+MyUTF_String = ε
+Gosub Unicode
+return
+
+<^>!+g:: ;omega
+MyUTF_String = ω
+Gosub Unicode
+return
+
+<^>!+h:: ;sigma
+MyUTF_String = σ
+Gosub Unicode
+return
+
+<^>!+j:: ;nu
+MyUTF_String = ν
+Gosub Unicode
+return
+
+<^>!+k:: ;rho
+MyUTF_String = ρ
+Gosub Unicode
+return
+
+<^>!+l:: ;tau
+MyUTF_String = τ
+Gosub Unicode
+return
+
+<^>!+:: ;delta
+MyUTF_String = δ
+Gosub Unicode
+return
+
+<^>!+:: ;upsilon
+MyUTF_String = υ
+Gosub Unicode
+return
+
+
<^>!+y::send
<^>!+x::send
-<^>!+c::send ?
-<^>!+v::send ?
-<^>!+b::send ?
-<^>!+n::send ?
-<^>!+m::send ?
-<^>!+SC033::send ?
-<^>!+SC034::send ?
+
+<^>!+c:: ;eta
+MyUTF_String = η
+Gosub Unicode
+return
+
+<^>!+v:: ;pi
+MyUTF_String = π
+Gosub Unicode
+return
+
+<^>!+b:: ;zeta
+MyUTF_String = ζ
+Gosub Unicode
+return
+
+<^>!+n:: ;beta
+MyUTF_String = β
+Gosub Unicode
+return
+
+<^>!+m:: ;mu
+MyUTF_String = μ
+Gosub Unicode
+return
+
+<^>!+SC033:: ;vartheta?
+MyUTF_String =
+Gosub Unicode
+return
+
+<^>!+SC034:: ;theta
+MyUTF_String = θ
+Gosub Unicode
+return
+
<^>!+SC035::send j
-;5. Ebene
+
+;5. Ebene (Win + Ctrl)
;---------
-<>^4::Send 5
-
-;SC056 & 8::
-;RAlt & 8::
-;Send {/}
-;return
-
-;SC056 & 9::
-;RAlt & 9::
-;Send {*}
-;return
-
-;SC056 & 0::
-;RAlt & 0::
-;Send {-}
-;return
-
-
-;SC056 & q::
-;RAlt & q::
-;Send {Esc}
-;return
-
-;SC056 & w::
-;RAlt & w::
-;Send {Backspace}
-;return
-
-;SC056 & e::
-;RAlt & e::
-;Send {Up}
-;return
-
-;SC056 & t::
-;RAlt & t::
-;Send {Insert}
-;return
-
-;SC056 & z::
-;RAlt & z::
-;Send {}
-;return
-
-;SC056 & u::
-;RAlt & u::
-;Send {7}
-;return
-
-;SC056 & i::
-;RAlt & i::
-;Send {8}
-;return
-
-;SC056 & o::
-;RAlt & o::
-;Send {9}
-;return
-
-;SC056 & p::
-;RAlt & p::
-;Send {+}
-;return
-;
-;SC056 & ::
-;RAlt & ::
-;Send {?}
-;return
-
-
-;SC056 & a::
-;RAlt & a::
-;Send {Home}
-;return
-
-;SC056 & s::
-;RAlt & s::
-;Send {Left}
-;return
-
-;SC056 & d::
-;RAlt & d::
-;Send {Down}
-;return
-
-;SC056 & f::
-;RAlt & f::
-;Send {Right}
-;return
-
-;SC056 & g::
-;RAlt & g::
-;Send {End}
-;return
-
-;SC056 & h::
-;RAlt & h::
-;Send {}
-;return
-
-;SC056 & j::
-;RAlt & j::
-;Send {4}
-;return
-
-;SC056 & k::
-;RAlt & k::
-;Send {5}
-;return
-
-;SC056 & l::
-;RAlt & l::
-;Send {6}
-;return
-
-;SC056 & ::
-;RAlt & ::
-;Send {,}
-;return
-
-;SC056 & ::
-;RAlt & ::
-;Send {}
-;return
-
-;SC056 & y::
-;RAlt & y::
-;Send {Tab}
-;return
-
-;SC056 & x::
-;RAlt & x::
-;Send {Del}
-;return
-
-;SC056 & c::
-;RAlt & c::
-;Send {PgDn}
-;return
-
-;SC056 & n::
-;RAlt & n::
-;Send {}
-;return
-
-;SC056 & m::
-;RAlt & m::
-;Send {1}
-;return
-
-;SC056 & SC033::
-;RAlt & SC033::
-;Send {2}
-;return
-
-;SC056 & SC034::
-;RAlt & SC034::
-;Send {3}
-;return
-
-;SC056 & SC035::
-;RAlt & SC035::
-;Send {.}
-;return
-
-;6. Ebene (Mod5 & Shift)
+#^4::Send {PgUp} ;Prev
+#^8::Send /
+#^9::Send *
+#^0::Send -
+
+#^SC00D:: ;soll tot
+MyUTF_String = ˙
+Gosub Unicode
+return
+
+
+#^q::Send {Esc}
+#^w::Send {Backspace}
+#^e::Send {Up}
+#^t::Send {Insert}
+#^z::Send
+#^u::Send 7
+#^i::Send 8
+#^o::Send 9
+#^p::Send {+}
+
+#^::
+MyUTF_String = ə
+Gosub Unicode
+return
+
+#^SC01B:: ;soll tot
+MyUTF_String = /
+Gosub Unicode
+return
+
+#^a::Send {Home}
+#^s::Send {Left}
+#^d::Send {Down}
+#^f::Send {Right}
+#^g::Send {End}
+#^h::Send
+#^j::Send 4
+#^k::Send 5
+#^l::Send 6
+#^::Send `,
+
+#^:: ; ( ? )
+MyUTF_String = þ
+Gosub Unicode
+return
+
+
+#^y::Send {Tab}
+#^x::Send {Del}
+#^c::Send {PgDn} ;Next
+#^n::Send
+#^m::Send 1
+#^SC033::Send 2
+#^SC034::Send 3
+#^SC035::Send .
+
+
+;6. Ebene (Win + Ctrl & Shift)
;-----------------------
-;+SC056 & b::
-;+RAlt & b::
-;Send m
-;return
+#^+4::Send +{Prev}
+
+#^+SC00D:: ; soll tot
+MyUTF_String = ˚
+Gosub Unicode
+return
+
+#^+q:: ; Xi?
+MyUTF_String = Ξ
+Gosub Unicode
+return
+
+#^+w:: ; Lambda
+MyUTF_String = Λ
+Gosub Unicode
+return
+
+#^+e::Send +{Up}
+#^+r::Send
+#^+t::Send +{Insert}
+
+#^+u:: ; Phi
+MyUTF_String = Ψ
+Gosub Unicode
+return
+
+#^+i:: ; Gamma
+MyUTF_String = Γ
+Gosub Unicode
+return
+
+#^+o:: ; Psi
+MyUTF_String = Φ
+Gosub Unicode
+return
+
+#^+:: ; ?
+MyUTF_String = Ə
+Gosub Unicode
+return
+
+#^+SC01B:: ; soll tot
+MyUTF_String = ˏ
+Gosub Unicode
+return
+#^+a::Send +{Home}
+#^+s::Send +{Left}
+#^+d::Send +{Down}
+#^+f::Send +{Right}
+#^+g::Send +{End}
+#^+h:: ; Sigma
+MyUTF_String =
+Gosub Unicode
+return
+
+#^+j:: ; No
+MyUTF_String = №
+Gosub Unicode
+return
+
+#^+k:: ; (R)
+MyUTF_String = ®
+Gosub Unicode
+return
+#^+l:: ; TM
+MyUTF_String = ™
+Gosub Unicode
+return
+
+#^+:: ; Delta
+MyUTF_String = Δ
+Gosub Unicode
+return
+
+#^+:: ; ( ? )
+MyUTF_String = Þ
+Gosub Unicode
+return
+
+
+#^+y::Send +{Tab}
+
+#^+c::Send +{PgDn}
+
+#^+v:: ; Pi
+MyUTF_String = Π
+Gosub Unicode
+return
+
+#^+b:: ; Omega
+MyUTF_String = Ω
+Gosub Unicode
+return
+
+#^+SC034:: ; Theta
+MyUTF_String = Θ
+Gosub Unicode
+return
+
+
+/*
;Strg/Ctrl
;---------
-^SC029::send ^^ ;
+;^SC029::send ^^ ;
^1::send ^1
^2::send ^2
^3::send ^3
@@ -527,7 +608,7 @@ return
^9::send ^9
^0::send ^0
^::send ^-
-^SC00D::send ^ ;
+;^SC00D::send ^ ;
^q::send ^x
^w::send ^v
@@ -540,7 +621,7 @@ return
^o::send ^f
^p::send ^q
^::send ^
-^SC01B::send ^~ ;
+;^SC01B::send ^~ ;
^a::send ^u
^s::send ^i
@@ -566,59 +647,60 @@ return
^SC034::send ^.
^SC035::send ^j
+
;Alt-Ebene
;---------
-!SC029::send {altdown}^ ;
-!1::send {altdown}1
-!2::send {altdown}2
-!3::send {altdown}3
-!4::send {altdown}4
-!5::send {altdown}5
-!6::send {altdown}6
-!7::send {altdown}7
-!8::send {altdown}8
-!9::send {altdown}9
-!0::send {altdown}0
-!::send {altdown}-
-!SC00D::send {altdown} ;
-
-!q::send {altdown}x
-!w::send {altdown}v
-!e::send {altdown}l
-!r::send {altdown}c
-!t::send {altdown}w
-!z::send {altdown}k
-!u::send {altdown}h
-!i::send {altdown}g
-!o::send {altdown}f
-!p::send {altdown}q
-!::send {altdown}
-!SC01B::send {altdown}~ ;
-
-!a::send {altdown}u
-!s::send {altdown}i
-!d::send {altdown}a
-!f::send {altdown}e
-!g::send {altdown}o
-!h::send {altdown}s
-!j::send {altdown}n
-!k::send {altdown}r
-!l::send {altdown}t
-!::send {altdown}d
-!::send {altdown}y
+<!SC029::send {altdown}^ ;
+<!1::send {altdown}1
+<!2::send {altdown}2
+<!3::send {altdown}3
+<!4::send {altdown}4
+<!5::send {altdown}5
+<!6::send {altdown}6
+<!7::send {altdown}7
+<!8::send {altdown}8
+<!9::send {altdown}9
+<!0::send {altdown}0
+<!::send {altdown}-
+<!SC00D::send {altdown} ;
+
+<!q::send {altdown}x
+<!w::send {altdown}v
+<!e::send {altdown}l
+<!r::send {altdown}c
+<!t::send {altdown}w
+<!z::send {altdown}k
+<!u::send {altdown}h
+<!i::send {altdown}g
+<!o::send {altdown}f
+<!p::send {altdown}q
+<!::send {altdown}
+<!SC01B::send {altdown}~ ;
+
+<!a::send {altdown}u
+<!s::send {altdown}i
+<!d::send {altdown}a
+<!f::send {altdown}e
+<!g::send {altdown}o
+<!h::send {altdown}s
+<!j::send {altdown}n
+<!k::send {altdown}r
+<!l::send {altdown}t
+<!::send {altdown}d
+<!::send {altdown}y
;SC02B (#) wird zu AltGr
-!y::send {altdown}
-!x::send {altdown}
-!c::send {altdown}
-!v::send {altdown}p
-!b::send {altdown}z
-!n::send {altdown}b
-!m::send {altdown}m
-!SC033::send {altdown},
-!SC034::send {altdown}.
-!SC035::send {altdown}j
+<!y::send {altdown}
+<!x::send {altdown}
+<!c::send {altdown}
+<!v::send {altdown}p
+<!b::send {altdown}z
+<!n::send {altdown}b
+<!m::send {altdown}m
+<!SC033::send {altdown},
+<!SC034::send {altdown}.
+<!SC035::send {altdown}j
;Win-Ebene
;---------
@@ -728,19 +810,24 @@ return
^+SC034::send ^+.
^+SC035::send ^+j
+*/
+; Definition der Deadkeys als Hotstrings:
+::a::
+::^o::
#usehook off
-return
+
+
+
Unicode:
; Place Unicode text onto the clipboard:
Transform, Clipboard, Unicode, %MyUTF_String%
-; Retrieve the clipboard's Unicode text as a UTF-8 string:
-Transform, OutputVar, Unicode
-Send %OutputVar%
+; Paste the clipboard's Unicode text:
+send ^v
return
toggleneo:
@@ -748,52 +835,53 @@ toggleneo:
{
state =
menu, tray, rename, %enable%, %disable%
- menu, tray, enable, %ctrls%
}
else
{
- state = : Inaktiverad
+ state = : Deaktiviert
menu, tray, rename, %disable%, %enable%
- menu, tray, disable, %ctrls%
}
menu, tray, tip, %name%%state%
suspend
return
-togglectrl:
- if scc <> off
- scc = off
- else
- scc = on
- iniwrite, %scc%, %inifile%, environment, svorakCtrlChars
- gosub, setctrl
-return
-
-setctrl:
- if scc <> off
- menu, tray, uncheck, %ctrls%
- else
- menu, tray, check, %ctrls%
-return
help:
- msgbox, 64, name, NEO-Layout ohne Administratorrechte. `n`n%name% ersetzt das bliche deutsche `nTastaturlayout mit der Alternative NEO, `nbeschrieben auf http://www.de. `n`nWenn Autohotkey aktiviert ist, werden alle Tastendrucke `nabgefangen und statt dessen eine bersetzung weitergeschickt. `nDies geschieht transparent fr den Anwender, `nes muss nichts installiert werden. `n`nDie Zeichenbersetzung kann leicht ber ein Icon im `nSystemtray deaktiviert werden. `nAuerdem kann dort ausgewhlt werden, ob die Strg-Tasten `nebenfalls bersetzt werden sollen. `n`n`nSimon Griph, 2004-10-25 `n
+ Run, %A_WinDir%\hh mk:@MSITStore:autohotkey.chm
return
-aoeu:
- run http://aoeu.info/
+
+about:
+ msgbox, 64, %name%, %name% `n`nDas NEO-Layout ersetzt das bliche deutsche Tastaturlayout `nmit der Alternative NEO, beschrieben auf `nhttp://www.neo-layout.org/. `nDazu sind keine Administratorrechte ntig. `n`nWenn Autohotkey aktiviert ist, werden alle Tastendrucke `nabgefangen und statt dessen eine bersetzung weitergeschickt. `nDies geschieht transparent fr den Anwender, `nes muss nichts installiert werden. `n`nDie Zeichenbersetzung kann leicht ber ein Icon im `nSystemtray deaktiviert werden. `n
return
+
neo:
- run http://www.eigenheimstrasse.de:8668/space/Computerecke/NEO-Tastaturlayout
+ run http://www.neo-layout.org/
return
autohotkey:
run http://autohotkey.com/
return
+open:
+ ListLines ; shows the Autohotkey window
+return
+
+edit:
+ edit
+return
+
+reload:
+ Reload
+ Sleep 1000 ; If successful, the reload will close this instance during the Sleep, so the line below will never be reached.
+ MsgBox, 4,, The script could not be reloaded. Would you like to open it for editing?
+ IfMsgBox, Yes, Edit
+ return
+return
+
hide:
menu, tray, noicon
return