Somet

Somet

  • NA
  • 6
  • 619

How to log keys?

Nov 5 2018 11:27 AM
Using a winform program like so with a list box in c# vs studio 2017 enterprise
 

https://gyazo.com/8b933a2a14e64d6eba341853824c7b2a
 
 
How do I get it to hook the keys pressed and display them in the list box on the form inside and outside of the program?
 
I wish to create a macro recorder program, to play them back I already have achieve this by doing: SendKeys.Send();  so am looking for the opposite, I changed Keypreview on the form to True but still unsure where to go from there?