Is there any other solution? Perhaps any option for InputHook which could fully suppress all the inputs?
Thanks.
Code: Select all
;sample data := "$asdf`n"
ih := InputHook("T0.3", "{Enter}")
,ih.VisibleNonText := False
Hotkey, $, BarcodeScan, P1
return
BarcodeScan:
ih.Start()
msgbox % ih.Wait()
return
;Hotkeys
1::
2::
3::
a::
b::
c::
Enter::
msgbox % A_ThisHotkey " is pressed."
return