Page 1 of 1

Strange problem with autohotkey autocorrect, very frustrating, please help!

Posted: 30 Nov 2021, 06:21
by cyber1e
Hello folks,

I really like using Autohotkey for auto-correcting input. However, I recently noticed a strange problem that occurs from time to time:

I have the following autocorrect script set:

::reviwer::reviewer

The script runs, and now when I type "reviwer" several times on different lines, I get the following:

reviewer
reviewer
rreviewer
rreviewer
rreviewer
rreviewer
rreviewer
reviewer
rreviewer
rreviewer
reviewer

As you can see, it often happens that I get the unwanted "rreviewer", but sometimes I get the correct "reviewer".

I do not know what is the reason for this. Can someone help me to find a solution?

Thanks a lot in advance!

Mark

Re: Strange problem with autohotkey autocorrect, very frustrating, please help!

Posted: 30 Nov 2021, 08:56
by mikeyww
I ran your exact script and never saw that happen. If your script has other code, it could conflict.

Re: Strange problem with autohotkey autocorrect, very frustrating, please help!

Posted: 30 Nov 2021, 09:21
by boiler
Perhaps it is sending backspace characters too fast for your system. You might try using the Kn option for your hotstring with different values of n. See the Hotstring documentation for more details.

Re: Strange problem with autohotkey autocorrect, very frustrating, please help!

Posted: 30 Nov 2021, 09:34
by mikeyww
That is worth a shot. An example is below.

Code: Select all

:SEK10:reviwer::reviewer

Re: Strange problem with autohotkey autocorrect, very frustrating, please help!

Posted: 30 Nov 2021, 16:40
by cyber1e
Wow, that worked! I updated the script and the problem is solved. Thank you so much mikeyww and Boiler! :dance: :dance: :dance: