Maybe I need to speak with a hacker they try to collect account numbers, ssn, and other important information.
But in my case I just need collect a string "abcdefghijklmnop" ect and if the sequence contains fghijkl then display a dialog.
I suspect I'll need a buffer of some length a firsin first out buffer and for each keypress scan the buffer to see if it contains a match
I'd like to code this in java, but I found code examples in C @
Global System Hooks in .NET - CodeProject®
I'm pretty sure this can be done in java, since it's assumed to be just as powerful as C++ down to the OS level. But I can't prove the assumption.