Tuesday, July 03, 2007

Easily Save and Restore Window Layouts with the WindowPlacementTool Utility

Delay's Blog - An easy way to keep your windows where you want them [Releasing WindowPlacementTool with source code!]

"I wrote WindowPlacementTool in December of 2000 to solve a problem I had after beginning to use Terminal Services/Remote Desktop regularly. I made WindowPlacementTool available internally in 2001. Last week someone asked about getting access the source code to make some customizations and I figured I'd post the tool and its source here for anyone to use.

Download WindowPlacementTool and its source code by clicking here.

..."

From the WindowPlacementTool.txt;

"If you're picky about the layout of the windows on your desktop or if you connect to your machine with Terminal Services at differing resolutions, you're probably annoyed by having to re-layout your windows on a regular basis.  It seems like something (or someone!) is always coming along and messing with your layout.  But now that's a problem of the past; WindowPlacementTool can do all the work for you!  Just run it once to capture the layout you like, and then run it again whenever you need to restore that layout.  And because you can save multiple layouts, switching resolutions is a breeze.  Yep, it's that easy!

...

Example Setup
=============

[Layout your windows however you'd like them]

[Capture the current layout to a file]
C:\Temp>WindowPlacementTool.exe -c 800x600.txt

[Optional: Edit the file to remove any programs you don't care about]
C:\Temp>notepad 800x600.txt

[Optional: Create a shortcut on your desktop for easy access to this layout]
[Here, the shortcut would run "WindowPlacementTool.exe C:\Temp\800x600.txt"]

..."

This is a cool little utility that might come in handy. Nothing to install, just grab the EXE from the zip and run it. The include source is C++.

No comments:

Post a Comment

NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...

ALL comments are moderated. I will review every comment before it will appear on the blog.

Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...

I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...

Please see my comment policy for more information if you are interested.

Thanks,
Greg

PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...