https://autohotkey.com/docs/Hotstrings.htm
"Any backspacing you do is taken into account for the purpose of detecting hotstrings. However, the use of arrow keys, PageUp, PageDown, Home, and End to navigate within an editor will cause the hotstring recognition process to reset. In other words, it will begin waiting for an entirely new hotstring"
But, if you press Ctrl+Backspace this is not taken into account!
https://autohotkey.com/boards/viewtopic.php?f=5&t=32394
HotStrings: Not any backspacing that you do is considered
Re: HotStrings: Not any backspacing that you do is considered
Backspacing != Ctrl+Backspace. This is not a bug.
Backspace has standard behaviour virtually everywhere. Ctrl+Backspace does not. It does not erase word in a standard Windows Edit control, for example. Even programs which support Ctrl+Backspace do not handle it consistently - they have different ideas of where words start/end, or whether to delete adjoining whitespace/punctuation.
Backspace has standard behaviour virtually everywhere. Ctrl+Backspace does not. It does not erase word in a standard Windows Edit control, for example. Even programs which support Ctrl+Backspace do not handle it consistently - they have different ideas of where words start/end, or whether to delete adjoining whitespace/punctuation.
Re: HotStrings: Not any backspacing that you do is considered
But it should at least be considered! How about this: The use of control as modifikator will simple cause the hotstring recognition process to reset. If you are using this modifier, you do not want to continue to enter a hotstring.
Re: HotStrings: Not any backspacing that you do is considered
Rohwedder same goes for Ctrl+Enter.
Recommends AHK Studio
-
- Posts: 144
- Joined: 01 Feb 2017, 22:57
Re: HotStrings: Not any backspacing that you do is considered
you could send {click up} to manually reset the buffer. see here:
https://autohotkey.com/boards/viewtopic.php?t=11017
https://autohotkey.com/boards/viewtopic.php?t=11017
Re: HotStrings: Not any backspacing that you do is considered
Hallo,
good to know! I added this to my scripts:
good to know! I added this to my scripts:
Code: Select all
~^BS:: ;HotString Delete and Reset
SendLevel 1
Send,{Click up}
Return
Who is online
Users browsing this forum: No registered users and 21 guests