Page 1 of 1
Space in hostring without end chars
Posted: 29 Jan 2022, 02:52
by asheroto
Hello!
I want to add a hotstring so that when I press
it replaces the lowercase i with a capital I.
Meaning...
becomes
I can't seem to figure it out. I have tried using ^Space without success.
What's the trick?
Thank you!
Re: Space in hostring without end chars
Posted: 29 Jan 2022, 03:01
by gregster
If 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.
See also:
Re: Space in hostring without end chars
Posted: 30 Jan 2022, 12:46
by asheroto
gregster wrote: ↑29 Jan 2022, 03:01
If 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.
See also:
Thanks. Almost got it perfect. But I need it to replace as I'm typing a sentence. For example, if I type...
It should replace it to be
How can I get it to detect within a sentence?
Re: Space in hostring without end chars
Posted: 30 Jan 2022, 13:12
by gregster
You mean something like this?
this would preserve the typed spaces around the
I, and would work inside a word. (You are technically still inside the last word if you just press
one space, because that space is actually part of your hotstring trigger - which, by default, would be deleted by the substitution text).