D-Link DRU-R100 Radio Software
The NetEasy D-Link Radio is a cheap and cheerful radio for your PC. Simply attach it to a free USB port and you've got a brilliant little music machine.
Unfortunately the recording software that comes with it is a bit tacky - there are much better alternatives out there such as Messer. Messer by default can't control the D-Link - however if you download ControlDLink, you can set up pre and post commands to tune, power on and off the D-Link.
Command Line Options
Typically your pre command will resemble:
ControlDlink /power on /freq 104.9
and your post command:
ControlDlink /power off
Source code for the application is available - ControlDLinkSource.zip. A Project file for Visual Studio .Net 2003 is provided.
Recording from Scheduled Tasks
Messer is great, unfortunately a user has to be logged in for recording to start. If you want to record from a scheduled task, you can try the following - it's messy but it works: