Skip to content
This repository has been archived by the owner on Sep 5, 2018. It is now read-only.

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

Closed
Drugoy opened this issue May 26, 2014 · 1 comment
Closed

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

Drugoy opened this issue May 26, 2014 · 1 comment

Comments

@Drugoy
Copy link

Drugoy commented May 26, 2014

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.

@menixator
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants