4
votes

I have a weird typo that I keep making over and over, and instead of actually working on my typing skills, I want to edit my AutoHotkey script to compensate for this.

sometimes when I type the capital I I hit the : button and type "I:" and I want AHK to replace that string with just the letter I.

I already have a similar Hotkey

::custoemr::customer

But since the string uses a colon, I am having difficulty getting it to do what I want.

Any I:deas? (See?)

2

2 Answers

3
votes

Yes! It is a work around, but it works...

#Hotstring EndChars :
:?O:I::I

Anything below the line #Hotstring EndChars : will use the : as EndCharacter.

2
votes

Not sure if this will work for you it changes I:Space into I, but it requires the Space.

:*:I`: ::I ; The `is the escape but with 3 ::: AutoHotKey still get's confused