Search found 107 matches

by Pyonkichi
27 Feb 2024, 01:27
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

@Gary-Atlan82, Try this.

RB__:

Code: Select all

if (MG_IsFirstAction()) {
	ToolTip, RB__
}

RB_LB__:

Code: Select all

if (MG_Timer(-200)==0) {
	MG_Gesture := MG_CurTriggers
	MG_WaitNext := 0
	ToolTip, Single
}

RB_LB__LB__:

Code: Select all

MG_Abort()
ToolTip, Double
by Pyonkichi
15 Jan 2024, 04:02
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

randy_798 , The following code changes may be the solution. MG_Gesture_RB__: if (!MG_IsExDefault()) { ;Execute After Waiting if (!MG_Timer(-2000)) { ;Action to be run when the waiting time has elapsed. MG_WaitNext:=0 ; <- Added tooltip Single } ;This processing can be added from "Execute After Wait...
by Pyonkichi
28 Nov 2023, 01:24
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

JackRaider , You can define separate targets using different path names. Target 1 (Custom Condition): MG_GetExeName(MG_HWND, true)="c:\aaa\foo.exe" Target 2 (Custom Condition): MG_GetExeName(MG_HWND, true)="c:\bbb\foo.exe" The size of the list can be customized by overriding the following variables...
by Pyonkichi
18 Jun 2023, 20:27
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

GGGarikkk , Use the following. They are described in "Execute After Waiting" of the action template "Script Control" category. Action script for MB_C__: ;Execute After Waiting if (MG_Timer(-200)) { ;Action to be performed immediately after the gesture has been entered. } else { ;Action to be perfor...
by Pyonkichi
12 Jun 2023, 19:36
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

@Ralf_Reddings200244, Try this.

Code: Select all

SendInput, {tab down}
MG_Click("LB")
SendInput, {tab up}
by Pyonkichi
09 Apr 2023, 06:06
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

@hellen_dorandt89,
I don't think there is a need to support v2 for now. Many people use the MGL as a standalone application. They don't care what programming language is used to implement the functionality.
by Pyonkichi
20 Mar 2023, 03:50
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

@Tiboru, Thanks. Modify MG_Edit.ahk to fix it.

line 6947
original:

Code: Select all

	szKey := RegExReplace(szKey, keyOrg, key)
modified:

Code: Select all

	szKey := RegExReplace(szKey, RegExMatch(keyOrg, "^[\\\[]") ? "\"keyOrg : keyOrg, key)
by Pyonkichi
27 Jan 2023, 23:21
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

@Tiboru, Thanks for the reporting. It's a bug.
Modify MG_Edit.ahk as follows:

line 2227
before:

Code: Select all

	if (!desc || !name || !key) {
modified:

Code: Select all

	if (desc=="" || name=="" || key=="") {
line 2374
before:

Code: Select all

	if (!szDesc) {
modified:

Code: Select all

	if (szDesc=="") {
by Pyonkichi
21 Dec 2022, 05:06
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

@NBPEL, No browser gestures are defined by default. RB_L_ and RB_R_ defined in the default target work for browsers.
by Pyonkichi
12 Sep 2022, 22:52
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

Netmano , I don't recommend such combination usage. The following sample seems to work, but it may cause unexpected problems. So it's just for reference. MG_User.ahk: F15:: if (MG_Active) { MG_Executed:=1 MG_Aborted:=1 } return External.ahk: Space:: SendLevel, 1 Send, {F15} Send, x return
by Pyonkichi
22 Jun 2022, 07:01
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

MouseGestureL.ahk v1.40

MouseGestureL.ahk v1.40 Added "Move Window" to the action templates. Added functions MG_PostInit() and ME_PostInit() for user-defined processing that are called after script initialization is complete. (If you place them in the user-defined functions section in MG_User.ahk, MG_PostInit() will be ca...
by Pyonkichi
27 May 2022, 02:32
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

@loveqianool,
Use Custom Condition:

Code: Select all

InStr(MG_GetExeName(MG_HWND, true), "E:\Games\Steam")==1
by Pyonkichi
20 May 2022, 20:44
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

Thanks for the heads up! I've been trying the fix you've posted yesterday for a few hours and I haven't got any unwanted "RB_L_" gestures when using the wheel so far, wonder how the fix works behind the scenes. Is the one you've recently edit it with a better approach? After the first post, I remem...
by Pyonkichi
19 May 2022, 10:57
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

Running MouseGestureL conflicts with Foxygestures on Firefox/Waterfox i.e it completely disables the actions of the addon. Which I guess it's normal. Is there any way I could possibly have MouseGestureL letting Foxygestures taking care of some gestures (the ones for simple tasks), then taking over ...
by Pyonkichi
21 Feb 2022, 02:06
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

@Epoch,
Sorry, my explanation was insufficient. I guess the cause of the issue is another gesture you set. So, I suggested registering only RB_WU_ and RB_WD_ first, adding other gestures one by one, and seeing which one is the problem.
The recognition settings seem to be fine.
by Pyonkichi
13 Feb 2022, 00:07
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

@Epoch, As far as I can see your code, it should work fine. You may need to create a clean MGL configuration for troubleshooting.
by Pyonkichi
11 Feb 2022, 20:45
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

Running MouseGestureL conflicts with Foxygestures on Firefox/Waterfox i.e it completely disables the actions of the addon. Which I guess it's normal. Is there any way I could possibly have MouseGestureL letting Foxygestures taking care of some gestures (the ones for simple tasks), then taking over ...
by Pyonkichi
11 Jan 2022, 01:18
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

Thanks. I will consider about the donation.
by Pyonkichi
27 Nov 2021, 10:46
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

@Epoch, here

Code: Select all

BlockInput, MouseMove
MG_Move()
Send, {Control Down}
MG_Click("LB")
Send, {Control Up}
BlockInput, MouseMoveOff
by Pyonkichi
27 Nov 2021, 01:51
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 317
Views: 109976

Re: MouseGestureL

@Epoch,
Call MG_Move() before sending a mouse click. You can add it by selecting "Move Cursor" in the action templates.
It is recommended to use "BlockInput, MouseMove" to ensure the operation.

Go to advanced search