MouseGestureL

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

Re: MouseGestureL

27 Apr 2024, 03:31

@Azona77,
If your additional code is not much, I recommend using MG_User.ahk instead of the plugin. It can be opened by selecting "Edit User Extension Script" from the tray icon menu.
Azona77
Posts: 3
Joined: 02 Sep 2023, 10:17

Re: MouseGestureL

27 Apr 2024, 03:55

Pyonkichi wrote:
27 Apr 2024, 03:31
@Azona77,
If your additional code is not much, I recommend using MG_User.ahk instead of the plugin. It can be opened by selecting "Edit User Extension Script" from the tray icon menu.
Thank you so much~ It worked~
I simply pasted it into MG_User.ahk after line`Goto, MG_User_End`. Haven't found any issue~
User avatar
GollyJer
Posts: 71
Joined: 19 Sep 2015, 19:33
Contact:

Re: MouseGestureL

30 Apr 2024, 12:37

Pyonkichi wrote:
27 Apr 2024, 03:30
@GollyJer, Specify ahk_parent as the 1st param.
You can use MG_HWND as the target window handle.

Code: Select all

ControlSend, ahk_parent, {Ctrl Down}{Home}{Ctrl Up}, ahk_id %MG_HWND%
Thanks for the help @Pyonkichi. However, it still doesn't seem to be working.
Do you use Discord or vscode? Those are both examples of app where I'm having to physically click into the control before the scroll key commands will work.
Discord is the best example. If you activate any other app, then hover over discord and do the gesture, nothing happens. If you then click anywhere in a chat message and do the gesture, it works.

Thanks for any more insight you can provide. 👍
Ralf_Reddings200244
Posts: 102
Joined: 11 Mar 2023, 14:16

Re: MouseGestureL

Yesterday, 09:24

@Pyonkichi
Is it possible to get a gesture like RB_LB_8_/RB_LB_8__ to fire when LB is released, rather than when RB is released, and then have MGL reset, as If I manually released RB and then held it back down again?

I was able to get RB_LB_8_ to fire when LB is released but MGL does not reset itself (last trail is still active) so I am not able to fire another gesture such as RB_LB_2_, without releasing RB

I have gestures that follow the following pattern

Code: Select all

MG_Gesture_RB_LB_8__:
MG_Gesture_RB_LB_2__:
MG_Gesture_RB_LB_4__:
MG_Gesture_RB_LB_6__:

MG_Gesture_RB_MB_8__:
MG_Gesture_RB_MB_2__:
MG_Gesture_RB_MB_4__:
MG_Gesture_RB_MB_6__:
...
Each time I want to trigger one of them, I have to make sure to release RB at the end, I would really to do away with this, and just have these gestures fire when I release the sub trigger LB.

This would also make it faster trigger other gestures as I am already holding RB down

Thanks.

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: No registered users and 47 guests