My greatest work!

This post was imported from an old blog archive, and predates the creation of

I am thrilled!

I have done it!

I have completed the most useful program ever developed… at least if you are like me and hit Caps-Lock every couple minutes. I know, I had you all excited, but although this really isn’t that great, it was fun to hack together and at least I’ll use it. You can get the exe, sounds and code here. To exit it, just press & hold caps-lock & ctrl for a couple seconds. It’s really a very simple application, the core is in this code:

It all boils down to three APIs, GetKeyState, GetAsyncKeyState and PlaySound to play the wav file. If you have any improvements or suggestions, let me know.