Remember that really old program that came with windows 3.1 called 'recorder'? Well I'm trying to recreate it in C# for help with software testing. My goal is (preferably without help of the windows api) to have a program minimize itself, then record everything that I do (with regard to keyboard presses and mouse clicks and moves) until I click on the minimized taskbar button of my recorder application. Then write all that stuff to a script so I can replay it later. I don't really know where to get started, but it would be helpful first of all to know how to detect keyboard presses, and mouse moves and clicks while my application is minimized. Can anyone help?