Skip to content

Releases: RamonUnch/AltSnap

AltSnap 1.54

02 Aug 08:01
3008c2e
Compare
Choose a tag to compare

This is mostly a bug-fix release, Update is recommended.

  • New: You can now set UseZones=9 in the [Zones] section of the .ini file and Windows will snap to the layout without having to press Shift. Pressing shift or hitting space will disable zone-snapping instead. #219
  • Now if you use Zones, and disable the Toggle maximize state with the resize button while moving advanced option, then Zone snapping will be toggled by any secondary buttons, like with FancyZones. #219
  • New: Now you can set the opacity of the hollow rectangle (0-255) used when the show window content while dragging option is disabled or when FullWin=0. to do this you must modify the TransWinOpacity value in the [Performance] section of the .ini file. #223
  • New now you can set the value of BLCapButtons in the [Advanced] section of the .ini file to choose for each mouse button if the titlebar action will be or not extended to the caption buttons and the top resizing border. Use BLCapButtons=0 if you want all buttons to consider the extended caption and use -1 for none of them. The default value is 3 to avoid the extended caption for the left and right mouse buttons so that AltSnap avoids interaction with the minimize, maximize and close caption buttons ([_] [O] [X]). If you are unsure stick to the default value
  • New now you can set the value of BLCapButtons, in the [Advanced] section of the .ini file, to choose, for each mouse button, if the titlebar action will be or not extended to the caption buttons and the top resizing border. Use BLCapButtons=0 if you want all buttons to consider the extended caption and use -1 for none of them. The default value is 3 to avoid the extended caption for the left and right mouse buttons so that AltSnap avoids interaction with the minimize, maximize and close caption buttons ([_] [O] [X]). If you are unsure stick to the default value. If you want less titlebar detection use -1. #236
  • Now a check-mark in the action menu will indicate the always on top state of the pointed window. Same for Maximized and Borderless flags (#184).
  • Changed: Now when auto Snapping is enabled at the maximum level, then pressing shift will disable snapping instead of doing nothing.
  • Changed: Now several keys can be selected for the alternate action ie: the ModKey value in the [Input] section is a key list and works like the Hotkeys value. Same was applied to HScrollKey. (#207)
  • Fixed: Now smarter areo-snapping will be properly re-enabled when you release Shift. (#211)
  • Fixed: Snapping to the layout will no longer ignore the Max snapping speed option. (#218)
  • Fixed multiple Action menu popping up in some cases. (#213)
  • Fixed some stuck mouse buttons in some cases when using the Move Windows with a long left click option.
  • Fixed #220, Minic aero snapping is no longer necessary for Snapping to the snap layout (Zones).
  • Fixed: Modifying the config will no longer reset the UseZones value.
  • Fixed #226, #229: Now the DWMWA_CAPTION_BUTTON_BOUNDS rectangle is used to ensure that we are inside a titlebar and not caption buttons. This fixes an annoying Windows 10 bug.
  • Fixed, now the common french e dans l'o œ character is available in the default extended character menu (LATIN SMALL/CAPITAL LIGATURE OE).
  • Updated Chinese translation, thanks to @yatli

AltSnap 1.53

23 Jun 10:27
be58e41
Compare
Choose a tag to compare
  • New: An extra key menu can now be enabled in the Keyboard tab of the config and a popup menu with additional characters will show up when you press a key from A-Z for a long time. This is similar to the way Android and MacOS behave. The menu entry can be selected by pressing the accelerator key (first column), or using the usual arrows/mouse. The menu can be configured individually for each language (#181).

  • New: Now any key can be mapped to mouse button 6-20, this is useful if you have more than 5 mouse buttons and want to use your extra buttons with AltSnap. You can first bind your extra mouse buttons to keys that you would never use ie F13-F24, or some multimedia keys or even in some cases to undefined virtual-keys codes, then add those virtual key codes in the XXButtons key list (space separated hexadecimal values). Then those key will be turned in MB6, 7, 8... events in the order of the list, finally you can map an action to the corresponding mouse button, in the [input] section of the .ini file. I advise to also add those buttons to the Hotclicks key list. Finally keep in mind that any keys added to the XXButtons list will be unusable outside of AltSnap. Check issue #175 for the feature development and more tricks.

  • New: the Bottommost list was added to the [Blacklist] section of the ini file. When AltSnap lowers a window, it will try to keep it above all those Bottommost windows. Default value is *|RainmeterMeterWindow for the Rainmaker skin windows (fixes #189).

  • New: You can now replace the all directions center resize mode by the Closest side mode that picks the closest side resizing mode instead. The test window will be updated accordingly (see issue #193).

  • New: Now pressing Ctrl+N in a test window will open a New one.

  • Fixed: Now maximizing a window with the Action without click option will no longer prevent further movement.

  • Fixed: The long click move option now works when left and right buttons are swapped, it will also no longer interact with blacklisted windows.

  • Fixed MDI ancestor detection to avoid AltSnap freezing on WinTabber.

  • Fixed: MinAlpha and AeroSpeedTau being ignored (1.52 regression).

  • Fixed: #183 Titlebar move action would not work properly when no primary action was selected.

  • Fixed: #179 Smarter aero snapping mode will always consider the current window size/position and ignore the original AltSnapping.

  • Fixed: Now it will remain possible to snap to windows that were made borderless using AltSnap (partially fixes #185).

  • Changed: minor code refactoring, inducing even more exe size reduction.

  • Updated German translation thanks to @Ichisich, updated Korean translation thanks to @1kko.

AltSnap 1.52

28 Feb 08:22
4267dda
Compare
Choose a tag to compare

Again a bug-fix release, Update is strongly advised.

  • New: A help message was added to the test window to indicate how to setup snap layout (zones).

  • Changed: some code refactoring and unification inducing size reduction.

  • Fixed: Lag when dragging and resizing some programs (issue #160)

  • Fixed: #172, drag was locked down when combining and action and hotclick. Also, now if a hotclick is combined with the Move or Resize action then a long click will be forwarded to the pointed program is no drag occurred. This long click will not even be necessary if you enabled the Avoid blocking Alt+Click option in the General tab of the config.

  • Fixed: #124, A window will be restored to its original position when using the Move+Resize click combo without a drag.

  • Fixed: bugs in rolling and snapping code.

  • Updated French and Italian translations

  • Updated German translation, thanks to @Ichisich.

AltSnap 1.51

21 Feb 07:29
4a22d57
Compare
Choose a tag to compare

Two important fixes compared to last last 1.50 version:

  • Fixed #167 regression that would make it impossible to select alternate action for mouse button 4 and 5.

  • Fixed: Now the Long Click Move will no longer trigger if the cursor is pointing toward a system menu or a scroll bar or any of the caption buttons [?][_][O][X], in the title bar.

AltDrag 1.46.1 (old branch)

19 Feb 11:37
da3ac6b
Compare
Choose a tag to compare

This is an update of the old AltDrag 1.46 branch, probably the last version of AltDrag that I make. The choco package will be updated with this version. I recommend to Upgrade to the latest AltSnap version 1.50 or later.

  • Fixes Volume action that now shows the volume slider.
  • Fixes Close action on Excel and other programs.
  • Fixes tray icon handling under Win10.
  • Fixes potential crash when running a second instance of AltDrag.
  • Fixes potential out of bound array in in dialog box code.
  • Fixed: Now cloacked windows will no longer be snapped to, this also prevents windows from snapping to others through different virtual desktops under Win10.
  • Fixed: display maximize/restore animations when using the maximize action
  • Fixed: avoid to play the minimize/restore animations when unrolling a maximized-rolled window.
  • Fixed: When disabling the "Resize all windows" option, then windows would no longer snap properly, even if they were resizeable.
  • Fixed: Sometime the mouseup would triger a menu after an action.
  • Updated to tdm-gcc-10.3.
  • Updated Chinese translation by Yatao Li (zh_CN.ini).
  • Updated German translation by Ichisich (de_DE.ini).

AltSnap 1.50

18 Feb 17:59
7dfb14a
Compare
Choose a tag to compare

New major version of AltSnap. I suggest uninstalling and re-installing AltSnap to refresh the config file. It should not be necessary though.

  • New: Major changes in the title bar handling. A set of specific actions can be configured for each mouse button to apply when clicking on the title bar. Those actions can be configured to be used without pressing the hotkey if you want. This replaces all special title bars options: LowerWithMMB, RollWithTBScroll, NormRestore, TitlebarMove, now removed. CHECK YOUR CONFIG when you install this update...

  • New: Now, if you perform a long Alt+Click, the click will be forwarded to the pointed program, simulating a normal Alt+Click. You can also check the Avoid blocking Alt+Click option (General tab) and the Click will always be redirected, this will also disable all double-click actions.

  • New: A specific action can be configured when the Move or Resize action is release without performing a drag, so for example you can set MoveUp=Minimize in the [Input] section of the ini file and then Alt+Move+drag will just move the window as normal, but Alt+Move+Release will minimize the window. By default it needs to be a long click but if you check the avoid blocking Alt+Click option then any click will work. Same for the resize action using ResizeUp option. You also have the Alternate versions for each one with the B sufix. Also if you Hold Ctrl while releasing the click the action will not be performed.

  • New: Now the Resize+Move click combo will snap the window to the corresponding corner (similar to Move+Resize => Maximize).

  • New: Mute sounds action to toggle mute state on Win2k+.

  • New: Snap to side/corner action is available, and is equivalent to the double-right-click aero-snapping.

  • New: The RezTimer option was added to the [Performance] section of the ini file and permits to move the cursor only at the default event time resolution (every 16ms). It can be combined with FullWin=0 and is very low on resources consumption. It is an advised mode if your monitor refresh rate is only 60Hz. If the option is used then all the other rates are ignored.

  • French, Italian, translations are up to date and thanks to @1kko for Korean Translation and thanks to @Ichisich for German translation

  • Fixed: now the config dialog will show up in the corner your cursor is when you click on the tray icon.

  • Fixed: now the borderless action will save the old window style. Also Windows that have been set borderless by AltSnap will still be considered resizable.

  • Fixed: Colors of the Test Window now depends on system colors.

  • Fixed: Now the RefreshRate delay is almost millisecond accurate, it used to be 16 ms accurate, rendering it useless on high-spec computers.

  • Fixed: the show window content while dragging will no longer be ignored on newer Windows versions. The FullWin option in the [Performance] section of the .ini file can be set to 1: force on, 0: Force hollow, and 2: Autodetect based on Windows setting. The color of the hollow rectangle can be set in hex RGB via the FrameColor option in the [Input] section, default is 80 00 80.

  • Fixed: Alt+Shift will be blocked, by sending Ctrl, if an action occurred. This avoids unwanted keymap changes.

  • Fixed: Volume action now simply sends the multimedia key events. It should work on Win2k+, and will show a visual indicator on Win10.

  • Fixed: Sometime a maximized window could become impossible to restore with AltSnap.

AltSnap 1.49

19 Jan 09:41
dceb562
Compare
Choose a tag to compare
  • New: New way of arranging your windows: Grid mode. It replaces the snap layout with a simple grid than can be configured in the ini file. You can Set UseZones=3 in the [Zones] section of the .ini file to enable grid mode then you can set the number of grid lines/columns using the GridNx/GridNy options. Gor Grid mode I suggest to set UseZones=7 (3+4) so that the window get extended without having to press Ctrl.

  • New option to disable AltSnap on Maximized windows (advanced tab). You can also use the BLMaximized option in the .ini file.

  • New: AltSnap can now be activated with a long mouse click, check the corresponding option at the bottom of the Mouse tab. Default long click delay is the system double-click delay, it can also be manually set via the LongClickMove option in the ini file. Only the left click for movement is supported, it was suggested by @actforjason.

  • GUI: Smarter Aero Snap dimensions and Never restore AltSnapped windows options were added to the GUI so they can be configured easily.

  • Fix: When using the Kill Action on a suspended window, AltSnap will send the WM_CLOSE message and the terminate confirmation should appear. For now it is impossible to really kill the process via AltSnap because its window is Ghosted as soon as windows detects the process is hung.

  • Fix: Never restore AltSnapped windows option can be combined with Smart aero snap dimensions, and perform properly (#133)

  • Fix: Now all keys from A-Z are in the Killkeys list to avoid interaction with system shortcuts that might put AltSnap in an inconsistent state ie: Win+L, Win+V...

  • Fix: The Close Action now behaves correctly on Excel.

  • Fix: Maximum number of zones in the snap layout was raised to 2048.

  • Updated German and Chinese translations.

AltSnap 1.48

17 Nov 13:15
a012e12
Compare
Choose a tag to compare
  • New action: Minimize all other windows, similar to aero-shake, but available as a mouse action, and in the action menu.

  • New: Now when using the Lower windows by middle-clicking on title bars option Ctrl+Middle-click in the title bar will toggle the Always on top state and so will Middle-click on the Min/Max/Close buttons.

  • New: SnapGap value can be set into the [Advanced] section of the ini file and will set an additional gap between snapped windows/monitor sides. You can put a negative value if you want an overlap. Default is 0

  • New: Shiftkeys keys list was added in the [input] section of the ini file, to setup another key instead of the Shift key. The default is A0 A1, for left and right shift but this is now a customizable key list.

  • New: ShiftSnaps option was added in the [Advanced] section of the ini in order to enable/disable the border-border snapping activation with the shift key (default is 1).

  • Fixed: Now when resizing several windows at the same time the DeferPos windows functions are used to minimize flicker.

  • Fixed: Now when disabling window to window snapping with space while dragging, the smart window snapping will also be disabled.

  • Fixed AltSnap would block Alt+Space if no drag occurred, this was a problem when using Action without click.

  • Fixed: smart aero-snapping only taking into account windows snapped on the other side of the monitor.

  • Fixed: non-resizable windows will longer be maximized with right click while moving.

  • Fixed Maximize Vertically action that would erase the old restore state.

  • Fixed some crash when launching again AltSnap with a previous instance.

  • Fixed Tray icon handling under Win10.

  • Changed: Now when the space key is pressed for a movement the snap sate will be toggled between no snapping and all border-borders snapping.

AltSnap 1.47

30 Sep 09:11
6893cc0
Compare
Choose a tag to compare
  • Project was renamed from AltDrag to AltSnap to avoid conflict with Original AltDrag from Stefan Sundin. Old choco package will no longer be updated and will be given back as soon as Stefan asks for it. I advise to all users to uninstall AltDrag and install AltSnap.

  • New: Support of Snap Layouts, also called Zones. All associated settings are in the [Zones] section of the .ini file Read carefully:

    1. Check the Snap to layout option (UseZones=1 in the .ini).
    2. Configure your layout by opening several Test Windows from the tray.
    3. Arrange those windows across all of your monitors as you you wish.
    4. Go again to the tray menu and hit Save test windows as snap layout
    5. A confirmation dialog will ask you if you want to save, hit yes.

    Now you will be able using the Shift key to sanp the window you move to the pointed zone, Add the Ctrl key and drag the cursor to extend the windows across several zones. If the cursor is close from two or more zones then the window will also be extended to several zones. Use the InterZone value to adjust this threshold distance in pixels (default 32).

  • New: Added the Restore FancyZones snapped windows option in the Advanced tab and FancyZone option in the [Zones] section of the ini. Set it to 1 if you want AltSnap to be able to restore windows that were snapped using PowerToys' FancyZones. This only applies to x86_64 builds of AltSnap. I highly recommend this to FancyZones users.

  • New added a AResize whitelist in the [Blacklist] section of the .ini file in order to force AltSnap to resize windows that do not have the WS_THICKFRAME style, when the Resize all windows option is disabled.

  • New: Added the option to move windows via AltSnap without hotkey, by clicking on the title bar. It is similar to the hooks windows feature that was present in the original AltSnap and can be activated via the TitlebarMove option in the [Advanced] section of the .ini.

  • New: Now a modifier key can be set instead of the invert Move/resize key in order to use an alternate set of customizable actions for all buttons. They can be configured in the Mouse tab of the config dialog, or manually in the .ini, using a B suffix for buttons eg LMBB=Resize.

  • New: Maximize Vertically action, use Shift to maximize horizontally.

  • Changed default RefreshRate to 0 to favor smoothest movement instead of performances also default is now MoveRate=1 and ResizeRate=2.

  • Restore informations for snapped windows are now stored in Windows properties. This simplifies the code, and allows altdrag to be restarted without loosing restore info, also restore informations become shared between different AltSnap instances.

  • Updated to tdm-gcc-10.3 for i386 and x86_64 builds with one compiler.

  • Updated Chinese translation by Yatao Li (zh_CN.ini).

  • Updated German translation by Ichisich (de_DE.ini).

  • Fixed: Sometime the mouseup would triger a menu after an action.

  • Fixed: potential crash using the config pannel.

  • Fixed: display maximize/restore animations when using the maximize action

  • Fixed: avoid to play the minimize/restore animations when unrolling a maximized-rolled window.

  • Fixed: Now cloaked windows will no longer be snapped to, this also prevents windows from snapping to others through different virtual desktops under Win10.

  • Fixed: When disabling the "Resize all windows" option, then windows would no longer snap properly, even if they were resizable.

AltDrag 1.46

22 Jul 12:44
a72c6ec
Compare
Choose a tag to compare
  • Fix -elevate command line parameter being ignored. this also fixes the Elevate to administrator priviledge option for auto-start.

  • Fix major bug: AltDrag would capture the wheel input when Alt Was pressed even if Nothing was selected as wheel action.

  • Minor code tuneup