I use x10 products to run home automation.
I used the script as startup script to dim the lights and turn on the alarmclock radio in my computer room when I log on to windows.
I have lots of other ideas too.
Thanks for the cool script
Dave!