ewerybody / a2.modules

The standard a2 Autohotkey script collection
GNU General Public License v3.0
14 stars 1 forks source link

ComfortResize: Implement some new options #58

Open ewerybody opened 2 years ago

ewerybody commented 2 years ago

@Cyberkabauter contributed some ideas in a2#250 and has some code already to improve ComfortResize:

I adapted a script from the ahk forum to my needs. You may want to integrate some ideas of that:

I postet: my version of the script here. (search for "Modification Cyberklabauter"). The mentioned improvements are added to the script by myself, feel free to use it.

remarks

Well the current implementation covers most from the original ac'tivAid version. But I totally miss the maximized window resize as well! That's really a good one to fix! 👍

I never thought about having the cursor jump to the corners. That's the idea, right? (haven't seen the code yet) Sounds a little weird to me as I'd rather keep control of my cursor and OH: also sometimes work with a tablet in screen mode! So that wouldn't work there. But I'd totally need to see it in action and it's a valid option anyway :)👍

Resizing active window when cursor is outside would of course disable moving inactive windows which I really like. But it's also a good option! 👍

Cyberklabauter commented 2 years ago

I never thought about having the cursor jump to the corners. That's the idea, right? (haven't seen the code yet)

exactly.

Sounds a little weird to me as I'd rather keep control of my cursor and OH: also sometimes work with a tablet in screen mode! So that wouldn't work there. But I'd totally need to see it in action and it's a valid option anyway :)👍

I like it because it is more intuitive to me. But maybe a question what you are used to.

Resizing active window when cursor is outside would of course disable moving inactive windows which I really like. But it's also a good option! 👍

Right, this is a tradeoff. You may keep the resizing of inactive windows, which is maybe the better functionallity. I guess intuitive most users will intuitively move to the window area before acting.

Cyberklabauter commented 2 years ago

Two more thought. I really like that resizing and moving is bind at one hotkey (better than the script I use).

Another niice feature would be, to bind the grid resizing to a second hotkey.

Win + LButton:: move/resize Win + Alt + LButton: move/resize with grid