menixator/hotstring

Is it possible to add support of "#Hotstring EndChars …"?

Drugoy opened this issue · 1 comments

Unfortunately, currently setting

#Hotstring, EndChars `n

does nothing.
I know I can add "`n" to the end of my hotstrings' keywords and change the hotstring() call to "regexp" type, but this is PITA.

Right. first of all, this is not an issue. It's more of a suggestion to improve it. So I'd appreciate it if you didn't open any more issues for reasons such as this. You can just PM me on the AHK forum or mail me.

and you can improvise:

#Include Hotstring\Hotstring.ahk

Hotstring("this", "label",,false)
return

label:
Input, endkey, l1 V,,
if (endkey == "`n"){
    SendInput, % "{BS " . (StrLen($) + 1) . "}"
    MsgBox Triggered.
}
return