Auto-replace hotstrings misfiring
Posted: 20 Apr 2021, 08:21
I have a script with about 200 hotstring abbreviations that I've accumulated over the years. The script worked as expected with Windows 8.1. But with W10 on a different device, they inconsistently misfire.
They are all in a simple list. None of the hotstrings and their replacement text are long, and most are quite short.
What happens is, after the hotstring and the ending character are typed, the replacement text will have an extraneous space in it:
It's inconsistent where the space is, or which string will do it under which circumstances. It appears random.
Once a string misfires, it's very rare to get it to do it again right away. But the most common ones I use all eventually misfire again.
I've updated to the most recent AHK but that didn't have any effect.
Can there be too many strings in a script? Would it help to split them into multiple scripts? This script is not the only script I have running in memory at the time. But the total amount is about the same as with 8.1, and none of the others show any signs of problems.
Anyone have any idea what might be behind this?
Thanks much.
They are all in a simple list. None of the hotstrings and their replacement text are long, and most are quite short.
Code: Select all
::becc::because
::cvcv::coronavirus
::fbfb::Facebook
::msms::Microsoft
::hshs::hotstring
Code: Select all
becau se
coron avirus
Fa cebook
Micro soft
hots tring
Once a string misfires, it's very rare to get it to do it again right away. But the most common ones I use all eventually misfire again.
I've updated to the most recent AHK but that didn't have any effect.
Can there be too many strings in a script? Would it help to split them into multiple scripts? This script is not the only script I have running in memory at the time. But the total amount is about the same as with 8.1, and none of the others show any signs of problems.
Anyone have any idea what might be behind this?
Thanks much.