Reputation: 65
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?)
Upvotes: 4
Views: 840
Reputation: 7953
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.
Upvotes: 4
Reputation: 7953
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
Upvotes: 2