Monday, September 14, 2009

W7ToggleDisplay

This is a quick cmd line app for toggling between monitors.

Download: http://www.mikinho.com/wmc/toggle-display/W7ToggleDisplay.exe

Per request of a tgb member, see http://thegreenbutton.com/forums/p/78513/389041.aspx, I wrote this as a quick method of toggling display outputs.

It uses the new W7 APIs and works like below:

1- If multiple active (extended or clone) displays are found it will disable all but the highest ranked

2- If a single active display is found it will disable it and enable the next inactive display.

Hope it helps. If it does and you'll like more options please let me know and I'll add switches.

7 comments:

ZZDeZ said...

Sorry, but links to the file don't work...

mikinho said...

My site is currently down, it will be available again Monday night (I hope).

ZZDeZ said...

Thank you...

Unknown said...

Wow - thanx for sharing - this is almost exactly what I was searching for...!
...there is just one thing left:
It would be great if the screen-resolution could be changed also.
For example I use my flat screen tv (1360x768px) and a smaller screen which is build in my desk (1024x768px). The second screen can't handle higher resolutions - so an automatic switch of the resolution would be great...

best regard, j:)rgen.

Saturn49 said...

Any chance of posting the source to this? I can't find a good example for using QueryDisplayConfig and SetDisplayConfig anywhere.

Ayush Patel said...

this all are going same as technology and i found your article which gives me best ideas about same industries. now if your shared some more knowledge about this technology so that is good for all readers and researcher. right now i m working with Security System and CCTV Camera which is India based company.

Anonymous said...

Strange, I got 0xc0000007b when trying to run it. Is this a 32bit OS only? I'm using Win7 x64.