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

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
cyber1e
Posts: 2
Joined: 30 Nov 2021, 06:09

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

30 Nov 2021, 06:21

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
User avatar
mikeyww
Posts: 26856
Joined: 09 Sep 2014, 18:38

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

30 Nov 2021, 08:56

I ran your exact script and never saw that happen. If your script has other code, it could conflict.
User avatar
boiler
Posts: 16902
Joined: 21 Dec 2014, 02:44

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

30 Nov 2021, 09:21

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.
User avatar
mikeyww
Posts: 26856
Joined: 09 Sep 2014, 18:38

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

30 Nov 2021, 09:34

That is worth a shot. An example is below.

Code: Select all

:SEK10:reviwer::reviewer
cyber1e
Posts: 2
Joined: 30 Nov 2021, 06:09

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

30 Nov 2021, 16:40

Wow, that worked! I updated the script and the problem is solved. Thank you so much mikeyww and Boiler! :dance: :dance: :dance:

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Chunjee, Google [Bot] and 117 guests