PDA

View Full Version : Anyway to trap keystrokes at any time?



zuilin
November 4th, 2020, 23:12
Is there any way to trap a keypress, in any window, at any time, and then run a handler if it's pressed?

Or is that a part of the client that's inaccessible to extensions?

Moon Wizard
November 5th, 2020, 00:14
No, there is no system like that. There is an onChar event for stringcontrols; but that's only when the string control has focus.

Regards,
JPG

zuilin
November 5th, 2020, 00:16
Okay, thanks.