Skip to content

Instantly share code, notes, and snippets.

@Beelzenef
Created December 23, 2022 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Beelzenef/3e91507d6cacd512266b485c53699706 to your computer and use it in GitHub Desktop.
Save Beelzenef/3e91507d6cacd512266b485c53699706 to your computer and use it in GitHub Desktop.
mapping Spanish keys for US keybboard
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Caracteres en español usando CapsLock
; Con AutoHotkey
; Basado en https://gist.github.com/eduardoarandah/512a949e1d6e57d90bd1260ba3bfb062
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; mapear la n como ñ
CapsLock & n::
If GetKeyState("Shift", "P")
Send Ñ
Else
Send ñ
return
; mapear la ; como ñ
CapsLock & `;::
If GetKeyState("Shift", "P")
Send Ñ
Else
Send ñ
return
; mapear las vocales
CapsLock & a::
If GetKeyState("Shift", "P")
Send Á
Else
Send á
return
CapsLock & e::
If GetKeyState("Shift", "P")
Send É
Else
Send é
return
CapsLock & i::
If GetKeyState("Shift", "P")
Send Í
Else
Send í
return
CapsLock & o::
If GetKeyState("Shift", "P")
Send Ó
Else
Send ó
return
CapsLock & u::
If GetKeyState("Shift", "P")
Send Ú
Else
Send ú
return
CapsLock & -::
Send ¿
return
CapsLock & 1::
Send ¡
return
@Beelzenef
Copy link
Author

Caracteres en español usando CapsLock
Con AutoHotkey
Basado en https://gist.github.com/eduardoarandah/512a949e1d6e57d90bd1260ba3bfb062

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment