Created
November 1, 2017 19:05
-
-
Save ilmaisin/e91c78fd0fbbc7a042460f0cc29b2b23 to your computer and use it in GitHub Desktop.
DAS-asettelu AutoHotkey'lle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Tämä on Cristian Sereksen kehittämä DAS-asettelu muutettuna | |
; AutoHotkey 1.1.* -sarjan ymmärtämään muotoon. Tarkoituksena on | |
; mahdollistaa DAS-asettelun käyttöönotto Windows-koneissa ilman | |
; järjestelmänvalvojan oikeuksia. Mikäli järjestelmänvalvojan oikeudet | |
; ovat käytettävissä, on alkuperäinen versio luultavasti | |
; suositeltavampi. | |
; | |
; Tämän skriptin on kirjoittanut Iiro Laiho. | |
; | |
; Alkuperäinen DAS-asettelu on saatavilla osoitteesta | |
; <http://cristian.seres.fi/DAS.html>. AutoHotkey puolestaan löytyy | |
; osoitteesta <https://autohotkey.com/> | |
; --------------------------------------------------------------------- | |
#UseHook On | |
#MaxHotkeysPerInterval 200 | |
+y::Send {|} | |
+'::Send / | |
+§::Send ~ | |
§::Send \ | |
+3::Send @ | |
+4::Send € | |
+7::Send {{} | |
+0::Send {}} | |
++::? | |
+´::# | |
´:: Send {=} | |
<^>!1::Send § | |
<^>!2::² | |
<^>!5::½ | |
<^>!0::° | |
<^>!+::¤ | |
<^>!q::π | |
<^>!e::Send {^} | |
#<^>!r::ˇ | |
<^>!¨::Send ž | |
+<^>!¨::Send Ž | |
<^>!a::Send š | |
+<^>!a::Send Š | |
<^>!s::Send ´ | |
<^>!d::Send `` | |
<^>!f::Send ¨ | |
<^>!c::Send {µ} | |
<^>!n::Send {ø} | |
+<^>!n::Send {Ø} | |
<^>!m::Send {æ} | |
+<^>!m::Send {Æ} | |
<^>!-::Send {–} | |
q::p | |
w::h | |
e::r | |
r::k | |
t::< | |
y::' | |
u::w | |
i::u | |
o::y | |
p::b | |
å::q | |
¨::z | |
a::s | |
s::l | |
d::n | |
f::t | |
g::v | |
h::g | |
j::a | |
k::i | |
l::o | |
ö::e | |
ä::c | |
'::* | |
<::f | |
z::x | |
x::d | |
c::m | |
v::j | |
b::å | |
n::ö | |
m::ä | |
; CARON ACCENT | |
<^>!r:: | |
Input, key, L1, {delete}{esc}{home}{end} ; ... etc | |
if (key == "a"){ | |
Send ǎ | |
} | |
else if (key == "c"){ | |
Send č | |
} | |
else if (key == "d"){ | |
Send ď | |
} | |
else if (key == "e"){ | |
Send ě | |
} | |
else if (key == "g"){ | |
Send ǧ | |
} | |
else if (key == "h"){ | |
Send ȟ | |
} | |
else if (key == "i"){ | |
Send ǐ | |
} | |
else if (key == "j"){ | |
Send ǰ | |
} | |
else if (key == "k"){ | |
Send ǩ | |
} | |
else if (key == "l"){ | |
Send ľ | |
} | |
else if (key == "n"){ | |
Send ň | |
} | |
else if (key == "o"){ | |
Send ǒ | |
} | |
else if (key == "r"){ | |
Send ř | |
} | |
else if (key == "s"){ | |
Send š | |
} | |
else if (key == "t"){ | |
Send ť | |
} | |
else if (key == "u"){ | |
Send ǔ | |
} | |
else if (key == "z"){ | |
Send ž | |
} | |
else if (key == "A"){ | |
Send Ǎ | |
} | |
else if (key == "C"){ | |
Send Č | |
} | |
else if (key == "D"){ | |
Send Ď | |
} | |
else if (key == "E"){ | |
Send Ě | |
} | |
else if (key == "G"){ | |
Send Ǧ | |
} | |
else if (key == "H"){ | |
Send Ȟ | |
} | |
else if (key == "I"){ | |
Send Ǐ | |
} | |
else if (key == "K"){ | |
Send Ǩ | |
} | |
else if (key == "L"){ | |
Send Ľ | |
} | |
else if (key == "N"){ | |
Send Ň | |
} | |
else if (key == "O"){ | |
Send Ǒ | |
} | |
else if (key == "R"){ | |
Send Ř | |
} | |
else if (key == "S"){ | |
Send Š | |
} | |
else if (key == "T"){ | |
Send Ť | |
} | |
else if (key == "U"){ | |
Send Ǔ | |
} | |
else if (key == "Z"){ | |
Send Ž | |
} | |
else if (key == " "){ | |
Send {U+02C7} | |
} | |
else{ | |
Send {U+02C7}%key% | |
} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment