MouseGestureL.ahk - New Features
Added features in Ver. 1.41
See here about it.
It restores all windows minimized with "Minimize all windows of the same class". It doesn't matter where you perform the gesture assigned to this action.
See here about it.
See here about it.
For operating MGL processes from external programs or scripts, the dummy window has been added to distinguish between MGL process and other running Autohotkey scripts. You can find the MGL process by searching for a window with the following conditions.
Window Title: MouseGestureL.ahk Main Window
Window Class: AutoHotkeyGUI
You can terminate the MGL process externally by closing this window.
Added features in Ver. 1.40
Added features in Ver. 1.39
It can be used when you want to disable the default gestures triggered by the right button in a target such as a game, but want to assign the functions to the extended buttons.
If it is enabled, the target is excluded from the target group of the default gestures, and hook processing will not be performed except for the trigger buttons used for the target-specific gestures.
Added features in Ver. 1.38
Theoretically, applications that are not registered as gesture targets no longer have side effects.
Now, you can use the gestures triggered by the Left Button by limiting the target to a narrow range such as "a specific part of a specific application", because they will not affect normal operations.
If you enable the option "Always hook trigger buttons", it will return to the processing method up to the previous version. If you have the new problems from this version, turn on the check box.
Unzip and copy it to the Plugins folder for use. "Restore Last Closed Folder" and "Show Closed Folders List" will be added to "Others" in the action category.
Added features in Ver. 1.37
These action allows you to define a gesture that performs a repeating action such as a rocker gesture, after moving the cursor.
See the example for specific usage.
When registering a UWP application such as Microsoft Edge as a target, the window class name is retrieved "ApplicationFrameWindow" and the executable file name is retrieved "ApplicationFrameHost.exe", therefore the target could not be identified unless it was combined with the window title. From this version, the executable file name unique to the application such as "MicrosoftEdge.exe" can be retrieved, so it is possible to register the target with a single condition.
* You need to change the settings if "ApplicationFrameHost.exe" is used for the condition of the executable file name in the existing targets.
Added features in Ver. 1.35
After the gesture is accepted, the original behavior according to the mouse operation will be performed when the mouse button is released.
If the gesture fires after pressing the right button, the context menu will not be displayed when the right button is released, but it will be displayed if this function has been called.
If there is an "if" statement in the assigned action, and if you want to display the context menu assuming that it's a normal operation because of the "if" conditions are not satisfied, call this function on the "else" side.
After the gesture is accepted, the original behavior according to the mouse operation will be canceled when the mouse button is released.
If the gesture does not fire after pressing the right button, the context menu will be displayed when the right button is released, but it will be canceled if this function has been called.
<< Example of use >>
With the above settings, the context menu will be displayed before the assigned action is executed. To prevent that, call this function in the process immediately after the gesture is entered.
The old version of the action described the MG_ActivatePrevWin() function call with no parameter. If you modify it to MG_ActivatePrevWin(1000), the previous active windows will be activated one after another by repeating the same operation within a second.
If the action "Move and Resize Window" is executed in the environment where Windows Aero is enabled, the window size will be slightly smaller than the specified value. You can avoid that by specifying this option.
You can edit the user defined buttons by selecting "Edit" from the context menu that appears when you right-click the button list.
Stored folder of user defined buttons has been changed to UserButtons under the Config folder. Even if you override definition of the standard buttons they will be saved there. With this change, you can now back up all configurations just by copying the Config folder. (Excluding plugins)
Added features in Ver. 1.32
Gesture hints and configuration dialog box are now displayed correctly in environments where the display scale is set to more than 100% by the display settings of Windows.
However, AutoHotkey does not support per-monitor DPI, which still causes issues with cursor coordinates on sub-monitors that have a different display scale than the primary monitor.
If you experience this issue, see this article to change the Windows settings to work around the issue.
You can register the windows that you don't want to activate when calling the function MG_ActivatePrevWin(). This function is added to the actions from "Activate Previous Active Window" in the action template.