Al final, lo he hecho funcionar por mis propios medios. Prueba a ver si te rula. Ya sabes, la tecla app debe funcionar igual que la los acentos en un teclado español. Debe funcionar bien, tanto en minusculas, como en mayusculas como con capslock. Con la n,¡ y ¿ va manteniendola pulsada, como antes.
http://www.alvarezeninternet.com/temp/utilidad-de-teclado.zip
Codigo:
#SingleInstance force
#persistent
#notrayicon
AppsKey & !::
send ¡
return
AppsKey & ?::
send ¿
return
AppsKey & n::
If ( GetKeyState("CapsLock", "T") = 0 ) && ( GetKeyState("Shift", "P") = 0 )
send ñ
If ( GetKeyState("CapsLock", "T") = 1 ) || ( GetKeyState("Shift", "P") = 1 )
send Ñ
return
AppsKey::var := "´"
#if (var = "´"), var := ""
{
a::
if ( GetKeyState("CapsLock", "T") = 0 )
Send, á
else
Send, Á
return
e::
if ( GetKeyState("CapsLock", "T") = 0 )
Send, é
else
Send, É
return
i::
if ( GetKeyState("CapsLock", "T") = 0 )
Send, í
else
Send, Í
return
o::
if ( GetKeyState("CapsLock", "T") = 0 )
Send, ó
else
Send, Ó
return
u::
if ( GetKeyState("CapsLock", "T") = 0 )
Send, ú
else
Send, Ú
return
+a::
Send, Á
return
+e::
Send, É
return
+i::
Send, Í
return
+o::
Send, Ó
return
+u::
Send, Ú
return
}