Comments (9)
Only tested the build for a couple minutes now but the GrabWithAlt config seems to mostly do the trick for me. I am slightly confused how though, since the Meta Key is ... somewhat blocked by AltDrag :). I use the Win Key (also tried it with Alt) and the normal key combinations still work (which is a good thing), only individual presses do not register. They do register above the Taskbar though.
Did you implement the functionality by sending a click event as well? I have the added benefit that if I double tab the Hotkey I get a fullscreen window :) The only gripe I have is that the right click resize is not working with this combination. If I left click however the "move cursor" disappears and I can do a right click as normal and resize the window.
I am not currently working on a Windows Laptop anymore but my ideal solution would be to have a e.g. a move with one finger on the touchpad and a resize with two. So the current implementation would have gotten me half the way there and for all fairness BTT or many of the other tools on macOS also don't do this.
The other method I currently use is to have a Move hotkey (say Alt) and when I press an additional key (say Shift) the move switches to resize. Even with two instances I cannot get this to work. The move instance is set up to use KeyCombo=1 and GrabWithAlt=Resize with the Hotkeys "A0 A4" but when I press both Hotkeys the two instances fight over the window. I don't know if this could at all be relieved but would it be possible to have a setting similar to KeyCombo that tells AltDrag to work if and only if ONE Hotkey is pressed? I.e. the first instance would release its hold over the window when shift is pressed as well?
It is amazing to see that you picked up the development on the stagnant piece of software, I am excited now everytime I see a new AltDrag release! 😄 Thank you!
from altsnap.
Yes for now it is quite limited. more work needs to be made on this.
Maybe you coule use Win+Alt for move and Win+Ctrl for Resize with two instances. It should work
If your cursor is pointed to a blacklisted window (like the taskbar) then AltDrad soes not activate.
It is a good idea to add a block key list telling AltDrag to disable if one of those is down.
It does not send a click but the same function is called and checks for the time between two press so it gives the same result.
When using this GrabWithAlt option indeed the mouse buttons can no longer be used to perform other actions. I do not see how to avoid that because the action is running as soon as Alt (or a combo) is down so it blocks other inputs. I will see what I can do.
from altsnap.
@DrBones
Ok, I added a ToggleRzMvKey option in the [Input] section of AltDrag.ini that allows you to set a key to that Invert the Move/Resiez Action.
So try with
GrabWithAlt=Move
ToggleRzMvKey=A2
; A2 => Left CTRL
; Default to empty!
When you press Alt, it moves
Then When you press Ctrl+Alt it resizes the window. You can use any other keys.
You can also use GrabWithAlt=Resize and then Alt Will resize and Ctrl+Alt will Move...
You can also use combo and use Win+Alt => Move and Ctrl+Win+Alt => Resize
Those are just examples...
Note: If you use GrabWithAlt then You need to press the toggle key BEFORE Alt (or Alt combo)
hooks.zip
@MarqueIV If you want Ctrl+Alt+Win+LeftClick to move a window and Ctrl+Win+LeftClick to resize it
Set in the [Input] section of AltDrag.ini
LMB=Resize
Hotkeys=B5 A2
; A2 = Left Ctrl and B5 = Left Win
ToggleRzMvKey=A4
; A4 = Left Alt
KeyCombo=1
And if you want Resize to be ONLY from the Lower right then set
ResizeCenter=0
CenterFraction=100
in the [Advanced] section of ini file.
from altsnap.
I am not currently working on a Windows Laptop anymore but my ideal solution would be to have a e.g. a move with one finger on the touchpad and a resize with two.
Unfortunately this would require multi touch and I have no idea on how to handle that for now.
I think the support was introduced in Win 7 or 8...
I would also need to buy a multi touch-able device. In the long term I will consider it.
from altsnap.
The only gripe I have is that the right click resize is not working with this combination. If I left click however the "move cursor" disappears and I can do a right click as normal and resize the window.
With next release you will be able to do this.
You will also have all the options in the GUI and will not have to worry about the ini file.
Edit: In order to do it you will have to disable the "Toggle maximize state with left-click while moving" option
from altsnap.
have a try with this version.
I will wait a little before releasing it to be sure there are no new bugs.
AltDrag1.38beta_bin.zip
from altsnap.
WIN+LSHIFT to move (without click) works great, if a little laggy with the window border paint. I haven't tested yet, is it possible to set CTRL+LSHIFT to resize (without click)?
from altsnap.
If you set Left Shift Win Left Ctrl as hotkeys (with ini):
Hotkeys=5B A0 A2
Use the Combo mode, and use Left Ctrl for Invert move and resize actions.
KeyCombo=1
You should have
LCtrl+LShift => Resize
Win+LShift or LShift+Win => Move
Note that LShift+Ctrl will also move.
Also Ctrl+Win Will Resize
Win+Ctrl will move
You have to press the invert key before,
I would not advise those combo however because when selecting text with Ctrl+Shift it will interfere, maybe you do not care though, it is not very disturbing.
So a suggestion to have the minimal intrusiveness would be to use LWin and LAlt as hotkeys and to set one of them as the Invert move resize key and then Alt+Win and Win+Alt will do move/resize depending on the order it was pressed.
If you use Windows 8/10 or if you use Aero under Vista/7 then be sure to check that the "Drag Full Window" option is ON in the General config dialog otherwise it will be very laggy because newer windows have buggy GDI drawing. (I was not careful about the content of the ini file and it was setup for my old WinXP.)
from altsnap.
present in release
from altsnap.
Related Issues (20)
- Add "Scroll pressed" action HOT 3
- AltSnap can make some windows (Firefox) pulsate after snapped HOT 3
- AltSnap and office applications: Black square boxes with letters appears flickering in toolbar while resizing. HOT 2
- Windows always snap, no matter AltSnap settings.
- Feature Request : Autoborderless zone-snapped windows (minus blacklist) ? HOT 1
- Resize windows from center - like osx [Feat] HOT 5
- Cant seem to clear shortcut keys - keyboard tab [v1.63] HOT 8
- Feature request : Somehow be able choose overlapping zones ? HOT 8
- Feature request : reload config explicitly option in systray context menu HOT 2
- [bug?] Snapping after Alt-Tab doesn't work. HOT 3
- Fix minimize action HOT 1
- [question] how to bring window to front after Alt-Click-MouseMove? HOT 2
- Intermittently stops interacting with windows HOT 3
- Move to left/right/top/bottom zoone limitation HOT 2
- Compatibility with Komorebi HOT 4
- Add UIAccess flag to allow managing admin windows without running as admin HOT 10
- Chocolatey packaget not updating HOT 10
- PiercingClick doesn't work on windows11? HOT 5
- Cursor can't left-click until a right-click is issued HOT 22
- Centering a window is misaligned
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from altsnap.