InputHook "suppress" doesn't suppress backspace

Report problems with documented functionality
Descolada
Posts: 1141
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: 386
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


Post Reply

Return to “Bug Reports”