I just ran into an issue with a weird hotstring, where I could not think of a workaround. I think it could be better handled wiħ native support by hotstrings options.
Code: Select all
:cz?*: t:: t
:cz?*: T:: T
:c?*:th::ħ
The intention is that for any instance of th, except at the beginning of the word, it would be written as ħ. I opted for this because you can easily read the word as if it was properly written if the ħ is in the middle of it, but it ħrows you off a bit if it's not. So I defined that a space followed by a t would get auto-replaced to itself; I had to do boħ lowercase and capital to get the correct auto-replacement values.
My idea would be an option that requires the preceding character before the first letter of the hotstring not be an alphanumerical character-- a different form of the ? option. Instead of ? making it all-inclusive in triggering regardless of the preceding character, and ?0 returning to requiring a non-alphanumerical proceed it, something like ?1 would require an alphanumerical proceed it.