I would like script to extend my desktop to a 2nd monitor. I frequently take my laptop from home and work. I would like to not have to manually switch it by right clicking on the desktop, what a pain. Is there a windows API command or a .NET command that would do this for me? The solution could be written as a VBscript, or windows script, or in .NET. or a 3rd party app.
I found this blog which was useful, but I wonder if there is a better, more reliable way. I don't really like scripting against the GUI (using autoIT). It is not a very safe thing to do in my opinion. http://rallenhome.com/2006/08/extending-desktop-via-script.html
I'd really appreciate the help!