I think you are out of luck on this one, though in all honesty - I am not a coder, and there may be some way to do it.
It would obviously have to be tied into the OS in some way.
I simply use the system tray icon to unload ObjectDock if needed, and have a hot-key on my desktop, and on my notebook - I have the ObjectDock shortcut pinned to the start menu.
No load at startup on either machine.