I am trying to create a macro program in C++. The program is supposed to press the H key once in every 10 seconds. I have got the timing functions already, but how do I make it hit a key? So while the program runs, if I go to Notepad and leave it there, it would type "hhhhhhhh(...)"
Thanks!