Hi. I would like to achieve functionality that allows me to resize a window by clicking (Ideally MMB) and dragging while holding down the Alt key. I know this feature is more common on Linux systems. For instance htere is third-party application like "Alt-Drag" (available on GitHub).
But I belive it can be achieved natively, with the help of BTT only.
As I ma not advanced user of the BTT I have a question if anybody could guide me a little to get the AltDrag functionality?
Probably you can do it by recording two left click actions, one that triggers on mouse down and one that triggers on mouse up. The mouse down one you assign "Start Resizing", for the mouse up one "Stop Resizing". You could do the same with "Start Moving" and "Stop Moving"
Here an export of that example:
opt_drag.bttpreset (2.1 KB)
Finally I have changed Opt to Fn and it works really fine.
I was not aware it is so easy!
Thank you Andreas
Hi,
I achieved the Unix Alt+Left Click equivalent to move windows using this method.
It works perfectly using Option+Left Click and Start Moving, Stop Moving.
However, I could not make it work with the Trackpad, what is the trackpad left click equivalent (with "Mouse up" and "Mouse down" conditions) ?
Thanks,
Aurel
There shouldn't be any additional config be necessary, the standard mouse up/down triggers also work on the trackpad.
//edit:
Ah maybe you need to enable this:
Ok, so that's not perfectly clear why this button has this impact...
But it is working now !
Thanks for the very quick answer,
Have a nice day,
Aurel
I've just started using this amazing tool. I've been looking for alt+left click to move windows for a long time. And it works amazing, I love it!
I tried to set up the same way alt+right click for resizing, but that doesn't work well. The active window is sometimes resized, sometimes a window burried below the active one, it sometimes does not do anything at all. Am I missing something?
Thank you so much!
Have you tried adding "Activate/Bring to Front Window Under Cursor" action before resizing?
Personally I could not achieve similar behaviors to what I had on XFCE linux :
The resize here is always starting from the bottom right corner while I would prefer the closest corner to mouse.
Also I had the "Fill Window" behavior on Alt + Double Click where the selected window would try to fit as much space as possible until it reaches other windows border.
So for now I've setup double and triple clicks with option modifier to place window to half or thirds of the screen and that's good enough
After almost a year, I’d like to share my experiences and the settings that work for me. Sorry for the delay—I actually found this solution shortly after writing my original post, but better late than never!
Paradoxically, the solution turned out to be much simpler than expected, and there was no need to add complex configurations. I just had to go into the BTT settings, select “Window Snapping & Moving” from the left panel, then go to the “Moving & Resizing Modifier Keys” tab. On the card below, I set “fn” as the key for moving windows (since it doesn’t interfere with anything else) and “fn + shift” for resizing windows (which is also easy to trigger with one finger). Additionally, just enabling the “Bring moving window to front” checkbox makes everything work even better than on Linux.
Bravo, BTT!