I want to add a hotstring so that when I press
Code: Select all
{space} i {space}
Meaning...
Code: Select all
i
Code: Select all
I
What's the trick?
Thank you!
Code: Select all
{space} i {space}
Code: Select all
i
Code: Select all
I
Code: Select all
:C*: i ::I
https://www.autohotkey.com/docs/Hotstrings.htm#remarks wrote:Spaces and tabs are treated literally within hotstring definitions.
Thanks. Almost got it perfect. But I need it to replace as I'm typing a sentence. For example, if I type...gregster wrote: ↑29 Jan 2022, 03:01If I understand correctly, such a hotstring could look like this (assuming you want the replacement text without these spaces):This should work at the beginning of words. If it should also work inside words, you could also add the ? option.Code: Select all
:C*: i ::I
See also:https://www.autohotkey.com/docs/Hotstrings.htm#remarks wrote:Spaces and tabs are treated literally within hotstring definitions.
Code: Select all
Then i went to the store.
Code: Select all
Then I went to the store.
Code: Select all
:C*?: i :: I `