keyboard malfunctioning when using HotStrings
Posted 20 July 2004 - 07:40 PM
The accents - acute (´), circumflex (^), grave (`), and (¨) – are all shown twice before the letter instead of over the letter:
So I get:
´´e instead of é
``e instead of è
^^e instead of ê
¨¨a instead of ä
The ~ is not shown at all.
As soon as I exit the script, the keyboard returns to normal functioning.
The problem does not occur when I use scripts without hotstrings.
I use a Danish keyboard
Posted 21 July 2004 - 11:50 AM
Posted 23 July 2004 - 06:31 PM
I appreciate your efforts, so I hate so say that it’s all the same.
I downloaded the new version, but nothing has changed.
Posted 23 July 2004 - 10:39 PM
Background: To support hotstrings, the keyboard hook calls a standard Windows function ToAscii(), which translates a virtual key code into its ASCII equivalent. However, it seems that this function has some nasty side-effects that are completely undocumented by MS. These side-effects interfere with keyboard layouts that use dead keys (diacritics).
Posted 23 July 2004 - 11:59 PM
Also, could you test this short script without any other scripts running:
sleep, 3000 ; give time to switch to an editor
Send ``e ; Use double-accent to mean a single literal accent.
Does it produce è?
Posted 24 July 2004 - 06:30 AM
2. Yes, it does produce an è