Skip to content

Instantly share code, notes, and snippets.

@eduardoarandah
Last active June 4, 2024 13:09
Show Gist options
  • Save eduardoarandah/512a949e1d6e57d90bd1260ba3bfb062 to your computer and use it in GitHub Desktop.
Save eduardoarandah/512a949e1d6e57d90bd1260ba3bfb062 to your computer and use it in GitHub Desktop.

Revisions

  1. eduardoarandah revised this gist Jan 9, 2019. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions AutoHotkey.ahk
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,7 @@
    ; Caracteres en español usando CapsLock
    ; Presionar CapsLock mas la vocal para acentuarla
    ; Para la ñ se puede usar la n o la tecla ; (porque ahí estaba la ñ originalmente)
    ; Para la ¿ usamos CapsLock y la tecla que tiene actualmente el ?
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    ; mapear la n como ñ
    @@ -20,6 +21,10 @@ Else
    Send ñ
    return

    ; mapear la ? como ¿
    CapsLock & /::¿

    ; mapear las vocales
    CapsLock & a::
    If GetKeyState("Shift", "P")
    Send Á
  2. eduardoarandah revised this gist Jan 9, 2019. 1 changed file with 10 additions and 1 deletion.
    11 changes: 10 additions & 1 deletion AutoHotkey.ahk
    Original file line number Diff line number Diff line change
    @@ -1,16 +1,25 @@
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Caracteres en español usando CapsLock
    ; Presionar CapsLock mas la vocal para acentuarla
    ; Para la ñ usar la n
    ; Para la ñ se puede usar la n o la tecla ; (porque ahí estaba la ñ originalmente)
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    ; 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

    CapsLock & a::
    If GetKeyState("Shift", "P")
    Send Á
  3. eduardoarandah created this gist Jan 9, 2019.
    47 changes: 47 additions & 0 deletions AutoHotkey.ahk
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,47 @@
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Caracteres en español usando CapsLock
    ; Presionar CapsLock mas la vocal para acentuarla
    ; Para la ñ usar la n
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    CapsLock & n::
    If GetKeyState("Shift", "P")
    Send Ñ
    Else
    Send ñ
    return

    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