Windows window management
Posted Mon, 27 Jul 2009
For fun, it uses WPF's easy gradients and easy transparency. WPF's coolest feature is it's item templating, where you can easily represent a data object (say, a window structure) in the UI. The behavior of the tool right now is similar in behavior of my firefox tabsearch extension, where it shows only items matching input words (each word is treated as a regex, etc).
If you are curious, download winmgr.exe. When you run it, nothing happens - it registers the hotkey 'alt+space'. Press alt+space and then start typing the name of the window you want to switch to. Press enter to select the first window in the list.
I worked around VS Express' limitation around resource editing (it's not allowed) by telling VS to compile my UI files (XAML) with a custom ruby script that turned each into string-escaped #define (eg; #define FOO_XAML "<.....").
But hey, if you're going to try to make window management not suck on Windows, I'm not going to try to stop you!