Detecting keyboard sequences
Hey there, I need urgent help in this. I'm new in QC, and I passed all day in front of the computer trying to do this. But I still didn't get what I want... :(
So here's the problem:
I want to detect certain keyboard sequences and give them and id. For instance, if I press 4 times "a" key from my keyboard should have an id = 1; And if I press again 4 times the "a" key, it should be id 2. And if I press 2 times "a" key and 2 times "s" key, should be id 3. In other words, every sequence I enter from my keyboard should have different ids, though it could be the same sequence, but should always have a different id.
I appreciate your attention,
More like this