Argh some of the lines got split and broken on the email.
to compile: dmd hotkey.d simpledisplay.d color.d -L/SUBSYSTEM:WINDOWS:5.0 should all be on one line. Here's the code to compile: http://arsdnet.net/dcode/hotkey.dStill read the last message though, the lines got split but I added some explanation comments to it that you'll want to see and understand to modify it to suit your needs.
