After a long hiatus, the MSDN Coding 4 Fun site is back online again! Check out it's cool new UI. It's taken me some time, but I finally got a new article posted. The article discusses a nifty little utility that I wrote to put your computer to sleep or shut it down based on some action. I wrote it so I could go to bed at night, knowing that the computer would standby at the end of a long operation (file download, video transcoding, large file copy, etc). You specify a window to watch, then you can specify an action to take place based on the window disappearing, title changing, title containing (or not containing) a certain phrase, or a window appearing with a given title. It's useful, and the article talks about how to do this, along with some great free and open libraries that wrap some of the Windows API's with extra functionality.
Give it a read and let me know what you think: Enter Sandman
posted @ Friday, December 22, 2006 10:02 AM