Here's an example of one of my keyboard shortcut scripts. Some of the characters may not render correctly if you don't have a full Unicode font available.
Code: Select all
^+-::
input, c1, L1 ;
if ( c1 == " " )
Send % Chr(0x0304) ; Combining macron
else if ( c1 == "A" )
Send Ā
else if ( c1 == "a" )
Send ā
else if ( c1 == "B" )
Send Ḇ
else if ( c1 == "b" )
Send ḇ
else if ( c1 == "D" )
Send Ḏ
else if ( c1 == "d" )
Send ḏ
else if ( c1 == "E" )
Send Ē
else if ( c1 == "e" )
Send ē
else if ( c1 == "G" )
Send Ḡ
else if ( c1 == "g" )
Send ḡ
else if ( c1 == "I" )
Send Ī
else if ( c1 == "i" )
Send ī
else if ( c1 == "K" )
Send Ḵ
else if ( c1 == "k" )
Send ḵ
else if ( c1 == "L" )
Send Ḻ
else if ( c1 == "l" )
Send ḻ
else if ( c1 == "N" )
Send Ṉ
else if ( c1 == "n" )
Send ṉ
else if ( c1 == "O" )
Send Ō
else if ( c1 == "o" )
Send ō
else if ( c1 == "R" )
Send Ṟ
else if ( c1 == "r" )
Send ṟ
else if ( c1 == "T" )
Send Ṯ
else if ( c1 == "t" )
Send ṯ
else if ( c1 == "U" )
Send Ū
else if ( c1 == "u" )
Send ū
else if ( c1 == "Y" )
Send Ȳ
else if ( c1 == "y" )
Send ȳ
else if ( c1 == "Z" )
Send Ẕ
else if ( c1 == "z" )
Send ẕ
else
Send _
c1 := ""
return
Code: Select all
^+-::
myArray := {"A":"Ā", "a":"ā"
, "B":"Ḇ", "b":"ḇ"
, "D":"Ḏ", "d":"ḏ"} ; and so on--I don't feel like typing the whole thing out right now :p
input, c1, L1
Send % myArray[c1]
c1 := ""
return
Thanks!