[v2.0.2] An escape character in the hotstring causes the next line to be skipped Topic is solved

Report problems with documented functionality
User avatar
thqby
Posts: 406
Joined: 16 Apr 2021, 11:18
Contact:

[v2.0.2] An escape character in the hotstring causes the next line to be skipped

Post by thqby » 23 Feb 2023, 20:34

Code: Select all

:x:``j::msgbox
:x:``g::msgbox   ; not working
https://github.com/AutoHotkey/AutoHotkey/blob/v2.0.2/source/script.cpp#L1829
https://github.com/AutoHotkey/AutoHotkey/blob/v2.0.2/source/script.cpp#L2293
The escape is handled here in the source code, but the buf_length is not updated.

awkwrd
Posts: 11
Joined: 26 Feb 2023, 21:04

Re: [v2.0.2] An escape character in the hotstring causes the next line to be skipped

Post by awkwrd » 23 Mar 2023, 01:09

Thank you. I can confirm that this is the case. I nearly lost my mind trying to figure out why my script wasn't working.


Post Reply

Return to “Bug Reports”