KDE Mover-Sizer New Logo, in large 256 pixel size. KDE Mover-Sizer

Move and resize Windows windows just like Linux Windows!

An essential add-on for Windows XP, 2K, Windows Server, Windows 7 and Windows 8/8.1.
Yeah, okay, and Vista!

Here is a page about my KDE Mover-Sizer. Okay, it's not entirely mine, not even mostly, but I've added enough code to call it mine, and it's too damn essential to not have a page of its own somewhere, so here it is..

What does it do?

KDE Mover-Sizer is a background application that emulates the behaviour of KDE, which is a rather good Linux desktop environment. Actually, Gnome and other Linux window managers also do it these days, but that wouldn't make for such a funky name. Essentially, you hold down the Alt key, and Left-click to move a window, Right-click to resize it; and from anywhere inside the window. That's it. And once you use it for a few minutes, you'll wonder how you ever lived without it.

The utility itself is coded with AutoHotKey, originally a fork of AutoIt, and highly useful in its own right. The original script (which I snaffled from the AutoHotKey forum, the best of many similar scripts) did all the above, but was missing something essential, that is; window snapping. So I added that, and gave them it back.

The window snapping is important for at least two reasons; 1) it enables you to place a window, as if by magic, exactly at the edge of your desktop. If, like me, you like to keep your main document windows in the centre of your screen, and leave lots of folder windows open up and down the sides of your desktop (I have a widescreen monitor now, which makes this even more effective) then you will find it invaluable. And 2) it enables you to resize the window from the edge of your screen. This is easier to do than to explain, though I'm going to attempt that anyway, with a couple of how-to style tips..

Cool Tricks..

I've gotten into a couple of habits thanks to the KDE Mover-Sizer. The first is a quick one-two action where I first Alt-Left-click a window and throw it roughly into place (off the edge of the screen), and then do a single Alt-Right-click to snap it back into perfect view. I've already had a week-off with all the time this good habit has saved me.

The new version can also snap directly to the edge during regular Alt-Left-Click moving - so long as you are within the snap distance, it will lock against the edge of your desktop. You can also constrain movement along the X or Y plane by holding down the<SHIFT> key, very nice!

The second habit of one of resizing windows from the edge. First, I get them there, as in tip 1, then I grab a corner (anywhere in the quadrant is fine) with an Alt-Right-click, and drag-resize them while the two opposite edges (one of which is bang up against the edge of the desktop) stay put. This isn't so much a time saver, as a sanity saver. I'm very particular about the amount of white space that shows in folder windows, and it they don't look right, I couldn't leave them open. Leaving them open is what saves time.

Another thing I've started doing, is sliding windows up and down the edge of my desktop by Alt-Left-click+drag (at the very edge of the desktop). The snap keeps them from moving left and right - it's like they are on rails! Very handy. And remember, it works on windows behind windows, too, and without bringing them to the front.

Try it!

You need to play with it to fully appreciate the beauty of KDE Mover-Sizer. Fortunately, I have a precompiled Windows executable which you can simply download and run. There's no installer, and it doesn't use the registry. The only settings are in a regular plain text ini file, which lives right next to KDE Mover-Sizer.exe, so it's completely portable. When running, a cute tray icon enables you to exit, if required (unlikely!), as well as a few other options. Drop a shortcut into your startup folder, and then you're cooking with KDE!

Then forget about it..

KDE Mover-Sizer uses very little resources to work its magic, and works on all desktop windows, even windows that aren't at the front, even those daft fullscreen installer windows. It will even sneak inside a Sandboxie and work there. It also enables you to resize windows that don't normally allow resizing, which can be a real bonus with certain dumb dialogs (cough *FirefoxSearchPlugin* cough). In no time, it feels perfectly natural, and you're throwing windows around with a whole new level of precision and abandon!

Like I say, I "couldn't live without it", and I'm fairly certain that if you use it for a wee while, you will feel the same way. At any rate, it's free; so why not try it and see..

KDE Mover-Sizer Download

download

KDE Mover Sizer for Windows

click to see zip archive contents

LIVE MD5+SHA1 Multi-Hashes..
# made with checksum.. point-and-click hashing for windows (64-bit edition). # from corz.org.. http://corz.org/windows/software/checksum/ # #md5#KDE Mover-Sizer for Windows.zip#2014.09.10@11.15:30 b14b27a7556b2c2e7dd8a1fff9b2a107 *KDE Mover-Sizer for Windows.zip
download

KDE Mover Sizer for Windows x64

click to see zip archive contents

LIVE MD5+SHA1 Multi-Hashes..
# made with checksum.. point-and-click hashing for windows (64-bit edition). # from corz.org.. http://corz.org/windows/software/checksum/ # #md5#KDE Mover-Sizer for Windows x64.zip#2014.09.10@11.15:34 34d40215c5023ebeb8dfdc86b4bdd82f *KDE Mover-Sizer for Windows x64.zip
NOTE: Multiple monitors are now supported! Thanks to some sterling work by Matthias Ihmig.

While I'm about it, the next time KDE Mover-Sizer saves you time and sanity navigatin' your mouse to a 1 pixel wide border or incy title bar or corner handle, feel free to whisper "Thanks Bud!" under your breath to the following good people who all had their grubby mits on KDE Mover-Sizer at some point..



If you want to check out the source (with fuller credits), perhaps customize it to your own requirements, even add some new feature and your name to the above list, or whatever, the code is freely available, here..

Another of AutoHotKey's tragically poor icons
View the Source Code


Have fun!

;o) corz.org

p.s. KDE Mover-Sizer works inside a Sandboxie sand box, without having to load a separate instance. KDE Mover-Sizer also works inside CoLinux, e.g. Portable Ubuntu. In fact, it would be quicker to list the places it doesn't work, if I knew of any.

Welcome to the comments facility!


previous comments (thirteen pages)   show all comments

Andrea - 05.06.18 6:40 pm

It is possible to set Super key (windows key) instead of alt key?

Edit: I've done it by myself. thanks a lot!

Aye, that tray menu is full of goodies! ;o)



ShadowAce - 08.07.18 3:33 am

Thanks for making this, i combine it with peek through, and do stuff like transparent always on top video watching while doing other activities as well as this being very helpful when it comes to computers using a higher DPI as well, i've had a lot of scaling problems where the title bar would appear outside the bounds or i couldn't see the bottom of some windows where the buttons and choices were, but now that i can resize and drag from anywhere on the form its not an issue anymore, leave it to great devs to fix all of windows 10's crappy flaws!.


mzladl - 31.07.18 10:03 am

Hi

I love this but I'm surprised that you do not advertise the 'Enable Mouse Wheel Scrolling on inactive Windows' (in the 'Special Features' submenu) since there are many people that want that linux feature in Windows - ie. Katmouse, AlwaysMouseWheel, Mouse Hunter, X-Mouse Button Control, Wizmouse & about a dozen more!

I have started using 'KDE Mover-Size' as a permanent mouse wheel scroller to replace Katmouse, which I have used for many, many years. However, I can not make the tick remain after reboot/reload. I see there is an ini file but I can't find any information here about ini settings.

Is there a way to have the option enabled after a reboot?

Thanks for any help,
Mark L.

PS
LOVE IT!! GREAT stuff!


This sounds like a permissions issue - KDE Mover-Sizer can't write to its ini file. You might want to run KDE Mover-Sizer as Administrator (Properties » Compapatability » Change Setting for all users). This will enable you to control all the windows on your system, which is preferable, anyway.

Failing that, you could edit in the preference yourself (in the [special] section)..

[Special]
EnableFocuslessScroll=1
FocuslessScrollSpeed=120


Restart KDE-Mover-Sizer.
En-Joy!

;o)



trace - 09.08.19 6:51 pm

Hello again,

full-screened windows of new Firefox builds do not respond to Mover-Sizer any longer; Chrome seemingly never did. Is this something that can be solved?

In case it is of any help, I've managed to work around this issue by using a browser add-on to apply an initial resize (https://addons.mozilla.org/en-US/firefox/addon/window-resizer-webextension), after which Mover-Sizer again works on the window. This is not an optimal solution however, as not only is it clunky, but the tab/url bar won't fade back in on hover.

Thanks, again!


Matthias - 04.09.19 7:22 am

@trace:
With "full-screened window", do you mean
a) the fullscreen you get when you press Alt+Middle click or double click the title bar
or
b) the fullscreen you get without title bar by pressing F11 ?

a) works for me, also in the newest Firefox 69.0

For b), you can extend the script to automatically "press" F11 before moving/resizing.

Try to add the following snippet after DoMovingWindowMinimize: and after DoResizingWindowMaximize:

Note that this is a quick hack. Detection of case b) will probably only work on the main screen. For other screens, you need to extend it or find a better way to detect if Firefox is in b)-mode.

    MouseGetPos,mx_scr,my_scr,curwin_id
    WinGet currentwinname, ProcessName, ahk_id %curwin_id%
    If (InStr( "firefox.exe", currentwinname, CaseSensitive = false ) != 0)
    {
        CoordMode,Mouse,Window
        MouseGetPos,mx_win,my_win,curwin_id
        CoordMode,Mouse,Screen

        If (mx_win = mx_scr AND my_win = my_scr)
        {
            Send {F11}
            ;uncomment if size is wrong, to give window more time to resize "back"
            ;Sleep 100
        }
    }

Hope that helps,

Matthias


trace - 24.10.19 12:53 pm

Hey again Matthias,

b) is the case relevant to me. Adding that snippet does accomplish being able to resize an F11-fullscreen Firefox window, but it also causes it to snap back into normal window mode. The neat thing about using Mover-Sizer with F11'd windows is that it maintains the borderless layout where every pixel is page content, as well as the fading in and out of bars. This works flawlessly with old Firefox versions.


Matthias - 06.01.20 8:30 pm

@trace:
It looks like Firefox at some point has changed on how the fullscreen window is implemented. If there is no API- or Plugin-way that the Firefox Window during F11 can be controlled through KDE Mover-Sizer, you can't use the F11-Window mode any more.

Here's an idea for a workaround though, that might get you closer to what you want:
Instead of F11, you - like in my previous post - define special handling of "Make Fullscreen" in KDE Mover-sizer.AHK.

This then does the following:
- NOT send "Maximize"
- Put Firefox Window to "Always Foreground"
- Send keys to hide Menu Bar and Bookmark bar (unfortunately, to hide the URL and Tab bar, it seems like this cannot be done dynamically - you would have to start with with a modified user-Preferences css
- Set the Firefox Window size to the full screen coordinates, including putting it over the Windows Start bar.

Maybe that helps you a little on the way. But not as convenient as before though.

Matthias


trace - 12.01.20 9:46 am

Thank you for your continued assistance, Matthias.

I have pretty much resorted to using the Window Resizer extension to apply an initial resize, then Mover-Sizer to get the window how I actually want it, and then F6 to focus the URL bar whenever I need to. Rather inconvenient (and still not quite perfect, as there appears a thin border at the top of the window), but I just don't want to browse the web with bars and borders anymore. I really am surprised it is still such an awfully obscure thing, given that it's just an optimal way to display web content of any kind.

It's odd that the Window Resizer extension somehow is able to force its will upon Firefox's F11-fullscreen mode, yet Mover-Sizer cannot anymore. I almost even went and started using Edge, where Mover-Sizer still does the trick, but that has its own share of issues (and as does using old Firefox builds, for that matter - the last version I know still responds to Mover-Sizer in fullscreen mode was around 55, and once you go back that far there are some compatibility and security issues).


still works win 10 - 17.06.20 7:29 pm

this still works in windows 10, however snap to grid doesn't seem to work, or I don't know how it works


triggylol - 19.11.20 2:49 am

At the moment it works again in Firefox (83.0b3 (64-Bit)) if you set the entry "full-screen-api.ignore-widgets" in "about:config" to tru.


Aadi Sahni - 11.12.20 4:12 pm

H, I was wondering how to use the double alt with the windows key set as my window resize, moving and maximize shortcuts. I've never been able to get it working.


next comments (1 page)

First, confirm that you are human by entering the code you see..

(if you find the code difficult to decipher, click it for a new one!)


gd verification image

 

Welcome to corz.org!

I'm always messing around with the back-end.. See a bug? Wait a minute and try again. Still see a bug? Mail Me!