MouseGestureL
Re: MouseGestureL
@Pyonkichi
Hey I was finally able to test your suggestion today, it worked just fine
Now I understand how to use Sub Targets, Thanks allot
Hey I was finally able to test your suggestion today, it worked just fine
Now I understand how to use Sub Targets, Thanks allot
MouseGestureL.ahk v1.38 and New Plug-in
MouseGestureL.ahk v1.38
- Changed the hook processing of trigger buttons to be executed only on the gesture targets.
- Added "Always hook trigger buttons" to the Recognition option.
Download:
.
.
For details of the changes, refer to the following page:
.Re: MouseGestureL
Hey, I'm not super familiar with ahk or this app but I am trying to use it to get by and I'd really appreciate a little help. With a previous browser add on I could set up a gesture to open a link in a new tab, choose if it was in the foreground or background, is that kind of action possible with this? ty
Re: MouseGestureL
@Sleatness,
If you use Chrome, assign the action "Send, ^{LButton}" to the gesture for background and "Send, ^+{LButton}" for foreground.
If you use Chrome, assign the action "Send, ^{LButton}" to the gesture for background and "Send, ^+{LButton}" for foreground.
Re: MouseGestureL
I have noticed that recently, I've been having some problems assigning new gestures. Here are the steps I usually follow to reproduce the problem:
To be honest, I'm not sure if this has always been the case or if it just started happening after a specific update.
Am I doing something wrong? Is there a way to make the gesture work without having to reload the script?
- Open configuration window
- Click Main > Add Gesture
- Select one of the unused gestures suggested
- Write the Action Script
- Click "Apply Action"
- Click "OK"
To be honest, I'm not sure if this has always been the case or if it just started happening after a specific update.
Am I doing something wrong? Is there a way to make the gesture work without having to reload the script?
Re: MouseGestureL
@Avastgard,
If you launch MG_Edit.ahk directly, you need to restart MGL after closing MG_Edit. If you select Configuration from the tray menu to open the dialog box, you do not need to restart.
If you launch MG_Edit.ahk directly, you need to restart MGL after closing MG_Edit. If you select Configuration from the tray menu to open the dialog box, you do not need to restart.
Re: MouseGestureL
Oh, I see. I configured RB_LR to open the configuration menu. I'm not near my computer right now, but I believe I set that gesture to run MG_Edit.ahk. Is there a way to open the configuration menu through a gesture and not run into the same problem of having to reload the script after configuring the changes?
Re: MouseGestureL
@Avastgard, Just call MG_Edit() function in a gesture action.
Re: MouseGestureL
@Pyonkichi
Hello,
I am trying to do this in MGL, can someone let me know what I am doing wrong?
I want to do RB_8 and after releasing RB, Have MGL wait for some time (150?) for me to follow it with LB
I have defined the gesture like so
RB_8_LB__
and its action script;
But it does not seem work, Am I missing something?
Thanks
Hello,
I am trying to do this in MGL, can someone let me know what I am doing wrong?
I want to do RB_8 and after releasing RB, Have MGL wait for some time (150?) for me to follow it with LB
I have defined the gesture like so
RB_8_LB__
and its action script;
Code: Select all
send, ^{a}
Thanks
Re: MouseGestureL
Why do you need to wait to press LB again?
Re: MouseGestureL
Its a requirement I really need, I need to release RB but the pressing of LB (within timer) to be considered as a continuation of the same gesture. According to this MGL function it looks to be possible but I dont know what I am doing wrong.
Re: MouseGestureL
@Mika_erdo,
MG_Wait() will not work if LButton is not used as the trigger button. See description of the Double gesture in a help file.
MG_Wait() will not work if LButton is not used as the trigger button. See description of the Double gesture in a help file.
- Attachments
-
- help.jpg (52.43 KiB) Viewed 3293 times
Re: MouseGestureL
@Pyonkichi
I thank you for pointing me in the right direction, I will thoroughly read the docs now!
I thank you for pointing me in the right direction, I will thoroughly read the docs now!
Re: MouseGestureL
@Pyonkichi
So I've read the docs and I am trying to understand the functions found under script controll. In perticular, function called MG_Wait()
I am trying to recreate the example in the docs but its not working as expected. As i understand it, while holding RB, a single click of LB will perform one action, while a double click of LB will perform another action. The problem I am getting is, both actionscript for RB_LB__ and RB_LB__LB__ get executed one after another, even if I perform a double click of LB within timer limits
To be certain, I have also set option of Time Limit of Double Gesture in recognition tab to 1000
Here is how I have it set up so far.
RB_LB__
RB_LB__LB__
What could I be doing wrong? Thank you.
So I've read the docs and I am trying to understand the functions found under script controll. In perticular, function called MG_Wait()
I am trying to recreate the example in the docs but its not working as expected. As i understand it, while holding RB, a single click of LB will perform one action, while a double click of LB will perform another action. The problem I am getting is, both actionscript for RB_LB__ and RB_LB__LB__ get executed one after another, even if I perform a double click of LB within timer limits
To be certain, I have also set option of Time Limit of Double Gesture in recognition tab to 1000
Here is how I have it set up so far.
RB_LB__
Code: Select all
Tooltip, RB_LB__
MG_Wait(1000)
Code: Select all
tooltip, RB_LB__LB__
Re: MouseGestureL
@Mika_erdo, Script for RB_LB__ should be this.
Code: Select all
if (!MG_Timer(-200)) {
Tooltip, RB_LB__
}
Re: MouseGestureL
@Pyonkichi
Hey thanks. I already know how to achieve double click via if (!MG_Timer(-200)) thanks to you sharing it with another user on page 3 of this thread. My goal is to really understand MousegestureL and take full advantage of it . In this case undestanding, the function MG_Wait().
In the documents, the explanation for MG_Wait() is;
I have tried creating an example of this in MGL, It works but the both gestures fire after one another. I tried using MG_Abort() in the root gesture but no luck.
Reading the document passage in the image above, it seems that MG_Wait() does the same thing as your example of
Is that correct? or does it do something else? or maybe MG_Wait() is a depricated function?
Hey thanks. I already know how to achieve double click via if (!MG_Timer(-200)) thanks to you sharing it with another user on page 3 of this thread. My goal is to really understand MousegestureL and take full advantage of it . In this case undestanding, the function MG_Wait().
In the documents, the explanation for MG_Wait() is;
I have tried creating an example of this in MGL, It works but the both gestures fire after one another. I tried using MG_Abort() in the root gesture but no luck.
Reading the document passage in the image above, it seems that MG_Wait() does the same thing as your example of
Code: Select all
if (!MG_Timer(-200)) {
Tooltip, RB_LB__
}
Re: MouseGestureL
@Mika_erdo,
The explanation is correct. "when double-clicking, the single-click action and the double-click action will be executed in turn."
The explanation that you wanted are described in the section "Assign different actions to double-clicking and one-time clicking".
The help file was created by a friend of mine, so to be honest, I don't know everything about the help. But this time, I realized again that the contents written in the help are correct.
The explanation is correct. "when double-clicking, the single-click action and the double-click action will be executed in turn."
The explanation that you wanted are described in the section "Assign different actions to double-clicking and one-time clicking".
The help file was created by a friend of mine, so to be honest, I don't know everything about the help. But this time, I realized again that the contents written in the help are correct.
Re: MouseGestureL
@Pyonkichi
This is great and has made understand where I was going wrong. I understand the what the MG_Wait() function is for now I will also take a look at the section you pointed me to. Much appreciated.
This is great and has made understand where I was going wrong. I understand the what the MG_Wait() function is for now I will also take a look at the section you pointed me to. Much appreciated.
Re: MouseGestureL
@Pyonkichi
Hi, am having some issue with triggering gestures, I have tried isolating it as much as I can to see where the issue is but no luck.
I created gestures but I cant trigger them and in hints display, MGL shows the gesture is assigned to diffrent stroke directions.
For example, I created gesture RB_8WU__. I cant trigger it and in hints, MGL shows the gesture is configured as RB_88. I tried multiple MGL envoiroments but the issue presists.
I have attached an .ini config file. It has 2 gestures to demonstrate the problem. I would appreciate if you could take a look. Thanks.
Hi, am having some issue with triggering gestures, I have tried isolating it as much as I can to see where the issue is but no luck.
I created gestures but I cant trigger them and in hints display, MGL shows the gesture is assigned to diffrent stroke directions.
For example, I created gesture RB_8WU__. I cant trigger it and in hints, MGL shows the gesture is configured as RB_88. I tried multiple MGL envoiroments but the issue presists.
I have attached an .ini config file. It has 2 gestures to demonstrate the problem. I would appreciate if you could take a look. Thanks.