Hi everyone!
I used to be able to use AutoHotKey to produce Spanish accents, but a recent Windows 10 upgrade rendered my script useless. Please keep in mind that I wrote this script years ago and no longer remember how I made it work. (The bottom part of it was from one of Paul Filkin's blog posts about smart quotes).
I know that I could use the English international keyboard to produce these characters, but don't like the fact that this option messes up the use of the single and double-quotation sign key. Also, I tried searching in this forum but was unable to find what I needed.
I'm running Studio 2019 SR1 and the latest version of AutoHotKey (from yesterday).
Can you please help? This is what I had:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
+^e::É
+^a::Á
+^i::Í
+^o::Ó
+^u::Ú
+^n::Ñ
!e::é
!a::á
!i::í
!o::ó
!u::ú
!n::ñ
!q::¿
!+1::¡
;----------------------------------------------------
; Replace dumb quotes with smart quotes as you type.
;----------------------------------------------------
:*?:" ::
Send ”%A_Space%
Return
:*?: ":: “
; And for single quotes?
:*?:' ::
Send ’%A_Space%
Return
:*?: ':: ‘
;—————————————————-
; Replace dumb quotes with double angle quotes as you type.
;—————————————————-
;:*?:” ::
;Send »%A_Space%
;Return
;:*?: “:: «
;Return
-----
thanks and best,
Becky