InputHook "suppress" doesn't suppress backspace Topic is solved

Report problems with documented functionality
Descolada
Posts: 1184
Joined: 23 Dec 2021, 02:30

InputHook "suppress" doesn't suppress backspace

Post by Descolada » 24 Mar 2024, 13:57

Code: Select all

F1::{
    ih := InputHook("V")
    ih.KeyOpt("{All}", "S")
    ih.Start()
}
F2::ExitApp
Run script, press F1, press backspace.
Expected result: backspace is suppressed because of ih.KeyOpt("{All}", "S")
Actual result: backspace is let through

If the InputHook is created with the "B0" option then backspace is also blocked.
User avatar
RaptorX
Posts: 390
Joined: 06 Dec 2014, 14:27
Contact:

Re: InputHook "suppress" doesn't suppress backspace

Post by RaptorX » 26 Mar 2024, 08:22

Confirmed on v2.0.12
Projects:
AHK-ToolKit
lexikos
Posts: 9666
Joined: 30 Sep 2013, 04:07
Contact:

Re: InputHook "suppress" doesn't suppress backspace  Topic is solved

Post by lexikos » 07 May 2024, 06:18

Fixed by v2.0.13.
Post Reply

Return to “Bug Reports”