I have searched these forums and read multiple topics, but none really answered what I am searching for. So here goes. First of all, I am not trying to code a keylogger, so no flames please.
What I want to do is write a program that will record how many times each key is pressed and print it by the corresponding character. For instance, if I hit j ten times, it should say "j: 10". The difficult part is, I want it to record keys pressed in any windows, not just the program it self. For instance, if I type "hello friend" in an instant message it should print h: 1, e: 2, l: 2 etc.
I don't know if this is possible. Thank you for the help.