When you type an hotstring trigger with default options, the ending character is kept after the hostring is expanded. For example, with the code below, type "btw" and Enter and the expanded "by the way" string will be followed by a new line. Type "btw" and Space and the expanded "by the way" string will be followed by a space.
But if you use the new Hotstring() function with the same default options, the ending character is not kept. It is as if the "O" (Omit the ending character) option was used. But it is not. Same behavior when using a function instead of a label.
Is it a known limitation of the Hotstring() function or a bug?
Thanks.
Code: Select all
Hotstring(":X:asap", "TypeASAP", On)
return
::btw::
send, by the way
return
TypeASAP:
send, as soon as possible
return