That's a nice idea. Be able to control startup applications depending on if the laptop is docked or undocked. Can this be tied to hardware profiles
Right click on "my computer" -> Hardware -> Hardware Profiles
Or in my case, detection of an externally connected monitor, or detection of ethernet cable