Hi, I'm trying to do many text replacements. Some of the replacement triggering abbreviations are prefixes of other triggering abbreviations, like so:
:*:foo::the
:*:fooed::there
Currently, this produces:
foo = "the"
fooed = "theed"
"foo", being the prefix of "fooed", is firing too soon. This could easily be fixed by removing the "*" and requiring an ending character. However, this way has valuable predictive text features that I would like to keep.
The way I can see doing it would be to do the hotstring replacement as soon as "foo" is typed, but to keep "foo" in the hotstring "clipboard". Then, when "ed" is added, the full clipboard will be "fooed" which will autotrigger the replacement to "there". The clipboard will reset after using an ending character like space or period.
Can anyone help me with the AHK syntax?