MouseGestureL

Post your working scripts, libraries and tools for AHK v1.1 and older
User avatar
Pyonkichi
Posts: 107
Joined: 16 May 2017, 20:40
Contact:

Re: MouseGestureL

Post by Pyonkichi » 04 Aug 2020, 10:08

@Avastgard,
The settings seem to be OK. I set it up exactly the same and it worked fine.
I'm a little wondering why the gesture is assigned to the "Default" instead of the "Browser", but it's not related to the problem.

User avatar
Pyonkichi
Posts: 107
Joined: 16 May 2017, 20:40
Contact:

MouseGestureL v1.35

Post by Pyonkichi » 05 Aug 2020, 06:12

MouseGestureL.ahk v1.35
  • Added the following four items to the action template.
    - Perform default behavior when a button is released
    - Cancel default behavior when a button is released
    - Resume Gesture Hints
    - Resume Gesture Trails
  • Added the function to activate the earlier active windows by re-executing the action "Activate Previous Active Window" within the parameter-specified time.
  • Added option "Adjust position and size for the Windows Aero" to the action "Move and Resize Window".
  • Eliminated the gaps between windows when the action "Tile all windows of the same class" is executed.
  • Added edit function of the user defined buttons.
  • Changed the stored folder of user defined buttons to under the Config folder.
  • Added "Change to another gesture" and "Copy to other target" to the context menu of the gesture assignment list on the Main tab.
  • Improved to details the interface of configuration dialog box.
  • Updated attached AutoHotkey version to v1.1.33.02.
Download:
.
For details of the changes, refer to the following page:

Avastgard
Posts: 133
Joined: 30 Sep 2016, 21:54

Re: MouseGestureL v1.35

Post by Avastgard » 05 Aug 2020, 06:38

Pyonkichi wrote:
05 Aug 2020, 06:12
MouseGestureL.ahk v1.35
  • Added the following four items to the action template.
    - Perform default behavior when a button is released
    - Cancel default behavior when a button is released
    - Resume Gesture Hints
    - Resume Gesture Trails
  • Added the function to activate the earlier active windows by re-executing the action "Activate Previous Active Window" within the parameter-specified time.
  • Added option "Adjust position and size for the Windows Aero" to the action "Move and Resize Window".
  • Eliminated the gaps between windows when the action "Tile all windows of the same class" is executed.
  • Added edit function of the user defined buttons.
  • Changed the stored folder of user defined buttons to under the Config folder.
  • Added "Change to another gesture" and "Copy to other target" to the context menu of the gesture assignment list on the Main tab.
  • Improved to details the interface of configuration dialog box.
  • Updated attached AutoHotkey version to v1.1.33.02.
Download:
.
For details of the changes, refer to the following page:
Great! Thanks for the update!

Are there any specific installation instructions? Or should I just download it to the same folder and overwrite everything?

User avatar
Pyonkichi
Posts: 107
Joined: 16 May 2017, 20:40
Contact:

Re: MouseGestureL

Post by Pyonkichi » 05 Aug 2020, 09:49

@Avastgard, You can overwrite all of the files.

Avastgard
Posts: 133
Joined: 30 Sep 2016, 21:54

Re: MouseGestureL

Post by Avastgard » 05 Aug 2020, 13:37

Thanks!

After updating, the ^t command that was not working now works correctly.

Netmano
Posts: 58
Joined: 17 Jun 2020, 16:24

Re: MouseGestureL

Post by Netmano » 06 Aug 2020, 06:06

Pyonkichi wrote:
04 Aug 2020, 09:31
@Netmano,
MG_Config.ahk is the configuration script that is included by the main script.
MG_Edit.ahk converts the MouseGestureL.ini into MG_Config.ahk when OK button is pressed. And the conversion is also preformed when the "Restart MouseGestureL" is selected from the tray menu. So you have to this operation when you changed the configuration manually.
I recommend assigning the hotkey of the "Restart MouseGestureL". It is useful if you frequently change the configuration.

MG_User.ahk (User Extension Script) is also included by the main scripts.
You can put your own functions to call from the gesture actions. If you put the functions to determine the some conditions, you can use it in the target tab of the configuration dialog box by selecting "Custom Condition" and entering the function name.
MG_User.ahk can be used flexible, like putting some hotkeys to avoid loading external small scripts.
I've been so busy this week with work and children, I never got to thank you for this thorough explanation. This was the last piece I needed to know to understand MGL. Now I can micro manage every little thing I want. :D Thanks!

Looks like you crammed in allot of features in the new update. You even considered some we asked for :bravo:
Last edited by Netmano on 06 Aug 2020, 06:21, edited 2 times in total.

Netmano
Posts: 58
Joined: 17 Jun 2020, 16:24

Re: MouseGestureL

Post by Netmano » 06 Aug 2020, 06:20

@Pyonkichi
Hey when I try to run v1.35 as a fresh start with no modifications and I try to run MousegestureL or MG_Edit

I get Error: Failed in file writting. I tried extracting in diffrent drives as well.

burque505
Posts: 1736
Joined: 22 Jan 2017, 19:37

Re: MouseGestureL

Post by burque505 » 06 Aug 2020, 07:51

@Pyonkichi, I'm getting the same errors as @Netmano. Unlike the previous versions, no Config directory is created on first run.
Regards,
burque505

User avatar
Pyonkichi
Posts: 107
Joined: 16 May 2017, 20:40
Contact:

Re: MouseGestureL

Post by Pyonkichi » 06 Aug 2020, 08:50

@Netmano, @burque505,
Thanks for the reporting. I confirmed that issue. I will fix it.

User avatar
Pyonkichi
Posts: 107
Joined: 16 May 2017, 20:40
Contact:

MouseGestureL v1.36

Post by Pyonkichi » 06 Aug 2020, 10:04

MouseGestureL.ahk v1.36
  • Fixed a bug that the script cannot start if it's executed in a brand new environment.
Download:

Netmano
Posts: 58
Joined: 17 Jun 2020, 16:24

Re: MouseGestureL

Post by Netmano » 06 Aug 2020, 11:06

Nice! much better now

burque505
Posts: 1736
Joined: 22 Jan 2017, 19:37

Re: MouseGestureL

Post by burque505 » 06 Aug 2020, 16:41

Thank you! Wonderful.

Avastgard
Posts: 133
Joined: 30 Sep 2016, 21:54

Re: MouseGestureL

Post by Avastgard » 07 Aug 2020, 17:51

I have run into yet another problem, both on versions 1.35 and 1.36.

I set up this gesture to close a Chrome tab, but instead of closing just one tab, it closes the entire window. No idea why this is happening, given the code is fairly simple (it just sends ^w).

And all the tabs close instantly (as opposed to one after the other), the same as if I had pressed Alt+F4. How can I fix this?

Image
Image

User avatar
Pyonkichi
Posts: 107
Joined: 16 May 2017, 20:40
Contact:

Re: MouseGestureL

Post by Pyonkichi » 08 Aug 2020, 04:27

@Avastgard, That doesn't reproduce in my environment.
Test it with the initial settings.
Close MGL and rename Config folder to the temporary name to keep current configuration. Restart MGL and add only the problem gesture.

Avastgard
Posts: 133
Joined: 30 Sep 2016, 21:54

Re: MouseGestureL

Post by Avastgard » 09 Aug 2020, 11:35

@Pyonkichi
For some reason, after I rebooted my computer (without renaming the config folder) the gesture now has the expected behavior. Thanks!

User avatar
submeg
Posts: 326
Joined: 14 Apr 2017, 20:39
Contact:

Re: MouseGestureL

Post by submeg » 09 Aug 2020, 21:15

@Pyonkichi, a question for you:

Is it possible to block a gesture(s) from occurring inside a gesture? For example, I have two gestures:

RButton down & Right = forward currently selected email
RButton down & Diagonally down to the right = expands current email conversation chain

When I use the diagonally down and to the right, it often triggers the RButton & Right gesture as well. Is it possible to "block" other gestures?
Image here

Image

I have it as a hotkey also, but it has no idea what that hotkey is (obviously), so can I block the other gesture instead?
____________________________________
Check out my site, submeg.com
Connect with me on LinkedIn
Courses on AutoHotkey :ugeek:

User avatar
Pyonkichi
Posts: 107
Joined: 16 May 2017, 20:40
Contact:

Re: MouseGestureL

Post by Pyonkichi » 09 Aug 2020, 22:28

@submeg, Try calling MG_Abort () at the beginning of the action.

Netmano
Posts: 58
Joined: 17 Jun 2020, 16:24

Re: MouseGestureL

Post by Netmano » 10 Aug 2020, 08:03

@Pyonkichi

Hey Pyonkichi, I am trying to program a new gesture. Wheel down/up while MB_8 is held in place and trigger not released. I've got it working. I am missing just one last thing.

I can only trigger one wheel step and no more, after I am forced to release RB trigger.
Is there a way to be able to continue scrolling down with the wheel, while MB_8WD_ is held down?



Here is what I have so far, and any other relevant gestures. Thanks!
MB_8WD_
;Undo
Tooltip, undo
MG_Abort()
MB__

Code: Select all

;CTRL+ALT+B
if (!MG_Timer(-140))
	{
	send, ^!{b}
	}
MB_8_

Code: Select all

;CTRL+ALT+w
send, ^!{w}

User avatar
Pyonkichi
Posts: 107
Joined: 16 May 2017, 20:40
Contact:

Re: MouseGestureL

Post by Pyonkichi » 10 Aug 2020, 18:22

@Netmano, Remove MG_Abort().

Netmano
Posts: 58
Joined: 17 Jun 2020, 16:24

Re: MouseGestureL

Post by Netmano » 11 Aug 2020, 09:41

So I tried your suggestion to remove Remove MG_Abort(), its gotten me half way there. What is happening now is MB_8WU_ actionscript is excuted once and the next wheel wheel rotation executes MB_WU_ actionscript.
MB_8WD.gif
MB_8WD.gif (36.92 KiB) Viewed 2629 times



I am essentailly trying to get MB_8WU_ to act exactly like MB_WU_. In the case of MB_WU, every time you rotate the wheel, MB_WU actionscript is executed but more imprtantly, it does not require you to release trigger key, Middle button to also, excute MB_WD actionscript either.
MB_WD.gif
MB_WD.gif (11.65 KiB) Viewed 2629 times

Post Reply

Return to “Scripts and Functions (v1)”