@Mika_erdo, It seems to be a bug. I'll find the cause.
The temporary solution is adding dummy gestures RB_WU_ and RB_LB__.
MouseGestureL
Re: MouseGestureL
@Pyonkichi
Great, I'll use your dummy solution for now. Thanks!
Great, I'll use your dummy solution for now. Thanks!
Re: MouseGestureL
Is it possible to define F11 & F12 in the same manner as ^Rbutton as a single trigger? Because of the harware I use, I only have access to Shift and Ctrl and cannot hold them together.
I am looking for a way to use two keys together just like one uses a modifier and another key. You shared this solution on page 3
to achieve F11 & F12__F11 & F12_8_ (^RB__^RB_8_)
Is there a way I can create F11 & F12__ F11 & F12_8_ with its own gesture, actionscript and hint system?
This is maybe beyond the scope what AHK allows for but I wanted to ask to know for sure and remove all doubt. Thank you
I am looking for a way to use two keys together just like one uses a modifier and another key. You shared this solution on page 3
But with this solution, it does not seem possible to use logic through functions such as if (!MG_Timer(-100)) MG_Abort()Pyonkichi wrote: ↑17 Jun 2020, 21:31@Netmano, Try the following.
Define F7_8_ as a gesture and assign the following actions:Code: Select all
if (GetKeyState("F2", "P")) { ; Put the action you need here. TrayTip,, Gesture was recognized }
to achieve F11 & F12__F11 & F12_8_ (^RB__^RB_8_)
Is there a way I can create F11 & F12__ F11 & F12_8_ with its own gesture, actionscript and hint system?
This is maybe beyond the scope what AHK allows for but I wanted to ask to know for sure and remove all doubt. Thank you
Re: MouseGestureL
@Mika_erdo, This may be the solution.
F12_
F12__
F12_
Code: Select all
flgF11Pressed := GetKeyState("F11", "P")
Code: Select all
if (!MG_Timer(-200)) {
if (flgF11Pressed || GetKeyState("F11", "P")) {
ToolTip, F11+F12
}else {
ToolTip, F12
}
}
Re: MouseGestureL
@Pyonkichi
This is really great Pyonkichi, I did not even know you can do this inside MGL actionscript. I have not tried it as christmass eve is keeping me tied up but I will in good time.
Thanks allot for this, much appreciated.
This is really great Pyonkichi, I did not even know you can do this inside MGL actionscript. I have not tried it as christmass eve is keeping me tied up but I will in good time.
Thanks allot for this, much appreciated.
Re: MouseGestureL
I just recently discovered MGL. It's pretty cool! Many thanks to the authors/developers.
I see that there is a pretty good onboard Help file. I'm wondering... Is the help file available in other formats than compiled html? I'd like to read it on my Kindle, but Kindle doesn't seem to handle CHM. A PDF file would be excellent.
I see that there is a pretty good onboard Help file. I'm wondering... Is the help file available in other formats than compiled html? I'd like to read it on my Kindle, but Kindle doesn't seem to handle CHM. A PDF file would be excellent.
ste(phen|ve) kunkel
Re: MouseGestureL
@Pyonkichi
I have been experimenting with MGL some more these past days and I have two questions that would help me allot in understanding things further.
Is there a limit of gestures that MGL can work with at any given time? Or even a recommended number that one should stay below?
Lastly, Is there a way to speed up the process of MG_Edit.ahk converting the MouseGestureL.ini into MG_Config.ahk?
I ask because, the more gestures that MouseGestureL.ini file has, the more waiting time for converting it. on my PC, the waiting time for
Thanks for your help.
I have been experimenting with MGL some more these past days and I have two questions that would help me allot in understanding things further.
Is there a limit of gestures that MGL can work with at any given time? Or even a recommended number that one should stay below?
Lastly, Is there a way to speed up the process of MG_Edit.ahk converting the MouseGestureL.ini into MG_Config.ahk?
I ask because, the more gestures that MouseGestureL.ini file has, the more waiting time for converting it. on my PC, the waiting time for
- 5,000 gestures is 30 seconds
- 10,000 gestures is 1 minute
- 15,000 gestures is 2 minutes
Thanks for your help.
Re: MouseGestureL
@Mika_erdo, Over 1,000 gestures are beyond my imagination. I don't know if there are many people like you, but if so, it may need to be improved.
Re: MouseGestureL
@Pyonkichi
I want to take 14 keys and reserve them entirely as MGL triggers, these keys are on the side of my mouse. I think I can work with my computer more intuitively and faster this way. My hands are on the mouse and pen stylus at all times, only reaching for the keyboard when I need to type sentences.
From the tests I performed, I don’t think MGL performs any differently with 1,000 or 10,000 gestures.
As for MG_Edit.ahk, one thing I can think of would be for MG_Edit.ahk to just check if an actionscript for a gesture was changed and only convert that single line, instead of converting the entire MouseGestureL.ini file.
hehe, the example below was actually very conservative. If you look at the table below, its only using 16 gesture directions and the sum is 4,000.Over 1,000 gestures are beyond my imagination. I don't know if there are many people like you
I want to take 14 keys and reserve them entirely as MGL triggers, these keys are on the side of my mouse. I think I can work with my computer more intuitively and faster this way. My hands are on the mouse and pen stylus at all times, only reaching for the keyboard when I need to type sentences.
From the tests I performed, I don’t think MGL performs any differently with 1,000 or 10,000 gestures.
As for MG_Edit.ahk, one thing I can think of would be for MG_Edit.ahk to just check if an actionscript for a gesture was changed and only convert that single line, instead of converting the entire MouseGestureL.ini file.
MouseGestureL.ahk v1.39
MouseGestureL.ahk v1.39
- Added "Exclude from default gesture targets" to individual target options.
- Fixed a bug where gestures that press a sub-trigger (a button that is not used to start a gesture) immediately after the strokes are not recognized correctly.
- "Restore Closed Folders" plug-in v1.01
Fixed a bug that abnormal termination occurs when "Show Closed Folders List" is executed after closing a special folder.
Download:
For details of the changes, refer to the following page:
Last edited by Pyonkichi on 25 Jan 2021, 19:52, edited 3 times in total.
Re: MouseGestureL
Hey @Pyonkichi, thanks for the update! If I switch to this version, how do I copy my current settings arcoss?
____________________________________
Check out my site, submeg.com
Connect with me on LinkedIn
Courses on AutoHotkey
Check out my site, submeg.com
Connect with me on LinkedIn
Courses on AutoHotkey
Re: MouseGestureL
@submeg, You can overwrite all new files. Your configuration will be retained.
Re: MouseGestureL
@Pyonkichi
Can I get some help with this please. I am trying to tap with left control while holding F10. So for example F10_LCTRL__
I've tried to remove as many gestures as I can to isolate the issue. In the above example configuration
Pressing left control while F10 is down. MGL is stuck and gesture trail does not turn of when F10 is released. Also tapping left control more will not update its tooltip.
But as soon as I remove LCTRLF10_ from the .ini file so that it looks like the example below and then reload. The issue goes away, tapping with Lcontrol works just fine.
None of the triggers have an asterik charecter in them as well.
I have attached, the example .ini
I would appreciate it if you can tell me what could be the cause of the issue. Thank!
Can I get some help with this please. I am trying to tap with left control while holding F10. So for example F10_LCTRL__
Code: Select all
[F10__]
G=F10__
Default=Tooltip, F10__
[F10_LCTRL__]
G=F10_LCTRL__
Default=Tooltip, ctrl__
[F10_8LCTRL__]
G=F10_8LCTRL__
Default=Tooltip, F10_8LCTRL__
[F10_8_]
G=F10_8_
Default=Tooltip, F10_8_
[LCTRLF10__]
G=LCTRLF10__
Default=Tooltip, LCTRLF10__
Pressing left control while F10 is down. MGL is stuck and gesture trail does not turn of when F10 is released. Also tapping left control more will not update its tooltip.
But as soon as I remove LCTRLF10_ from the .ini file so that it looks like the example below and then reload. The issue goes away, tapping with Lcontrol works just fine.
Code: Select all
[F10__]
G=F10__
Default=Tooltip, F10__
[F10_LCTRL__]
G=F10_LCTRL__
Default=Tooltip, ctrl__
[F10_8LCTRL__]
G=F10_8LCTRL__
Default=Tooltip, F10_8LCTRL__
[F10_8_]
G=F10_8_
Default=Tooltip, F10_8_
I have attached, the example .ini
I would appreciate it if you can tell me what could be the cause of the issue. Thank!
- Attachments
-
- MouseGestureL.ini
- (3.39 KiB) Downloaded 145 times
Last edited by Mika_erdo on 27 Jan 2021, 22:16, edited 1 time in total.
Re: MouseGestureL
Here are the F10 LCTRLF10 and LCTRL triggers just in case you want to see them.
- Attachments
-
- LCTRLF10.ahk
- (850 Bytes) Downloaded 164 times
-
- LCTRL.ahk
- (799 Bytes) Downloaded 153 times
-
- F10.ahk
- (716 Bytes) Downloaded 156 times
Re: MouseGestureL
@Mika_erdo
wrong: LCTRLF10__
correct: LCTRL_F10__
wrong: LCTRLF10__
correct: LCTRL_F10__
Re: MouseGestureL
@Mika_erdo
I think you missunderstood me.
LCTRLF10 is a single trigger on its own. The three triggers in question are defined like so. I plan to only use the trigger LCTRL as a sub trigger. so for example, Pressing left control while F10 is down.
The issue is using LCTRL as a sub trigger causes MGL to get stuck and gesture trail does not turn of when F10 is released But when I remove LCTRLF10_ from the .ini file. The issue goes away.
in my post above this one I have uploaded the 3 triggers and .ini file. I am certain you will reproduce the issue in your envoiroment too. Thank you
I think you missunderstood me.
LCTRLF10 is a single trigger on its own. The three triggers in question are defined like so. I plan to only use the trigger LCTRL as a sub trigger. so for example, Pressing left control while F10 is down.
The issue is using LCTRL as a sub trigger causes MGL to get stuck and gesture trail does not turn of when F10 is released But when I remove LCTRLF10_ from the .ini file. The issue goes away.
in my post above this one I have uploaded the 3 triggers and .ini file. I am certain you will reproduce the issue in your envoiroment too. Thank you
Re: MouseGestureL
@Mika_erdo, Use a completely different name for each trigger.
Re: MouseGestureL
Ahhh why I didnt I think that.
MGL used labels allot do its magic.
Excellent idea, Thank you so much.
MGL used labels allot do its magic.
Excellent idea, Thank you so much.
-
- Posts: 1
- Joined: 03 Feb 2021, 14:23
Re: MouseGestureL
Is there a way to save the gestures so I won't have to create them again on another computer?
Re: MouseGestureL
@domeafavour, I'm pretty sure it's contained within the MG_Config.ahk file, but check with @Pyonkichi.domeafavour wrote: ↑15 Mar 2021, 21:48Is there a way to save the gestures so I won't have to create them again on another computer?
____________________________________
Check out my site, submeg.com
Connect with me on LinkedIn
Courses on AutoHotkey
Check out my site, submeg.com
Connect with me on LinkedIn
Courses on AutoHotkey
Return to “Scripts and Functions (v1)”
Who is online
Users browsing this forum: No registered users and 156 guests