Search found 113 matches

by Pyonkichi
29 Jul 2020, 22:16
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

Netmano , You can define Shift+RB button manually by entering "+RButton" to the "Key String" field. But you will have same trouble as Previz's one, so you also need removing asterisks from RB.ahk and newly created ShiftRB.ahk. Components\Buttons\F2.ahk Current: MG_F2_Enable: Hotkey,*F2,MG_F2_DownHo...
by Pyonkichi
29 Jul 2020, 01:08
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

@Netmano,
I cannot reproduce the issue that you explain, means Ctrl+Alt+i is sent with exactly same settings. But I have an idea, if you still have the problem try to send shift key up.

Code: Select all

Send, {Shift up}^!i
by Pyonkichi
27 Jul 2020, 20:45
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

I tried your suggestion, but the same probem persists. Hmm. I could reproduce the issue before taking the countermeasure, but it's solved with MG_StopNavi() in my environment. Try changing the source code of MGL. MouseGestureL.ahk - line: 2430, Gui, MGW_ExNavi:Show, w1 h1 Hide Fixed, Gui, MGW_ExNav...
by Pyonkichi
27 Jul 2020, 20:04
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

Avastgard , Your configuration is correct, but usually end of the gesture pattern should be closed by underscore that means releasing a mouse button. See below. https://www.autohotkey.com/boards/download/file.php?id=9487 Many people stumble against this point. I'm considering to add the notificatio...
by Pyonkichi
27 Jul 2020, 10:03
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

@Avastgard, I don't find out root cause of the problem yet, but it is caused by the closing process of the hint display. So it can be solved by calling MG_StopNavi() before key sending.

Code: Select all

MG_StopNavi()
Send #d
by Pyonkichi
25 Jul 2020, 22:13
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

Previz , Thanks for reporting the issue. You need change the code inside F2.ahk and restart MGL. Components\Buttons\F2.ahk Current: MG_F2_Enable: Hotkey,*F2,MG_F2_DownHotkey,On Hotkey,*F2 up,MG_F2_UpHotkey,On return MG_F2_Disable: Hotkey,*F2,MG_F2_DownHotkey,Off Hotkey,*F2 up,MG_F2_UpHotkey,Off ret...
by Pyonkichi
21 Jul 2020, 05:10
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

Netmano , Thanks for suggestion. Previz , Below are my idea. When you press R button twice and move up cursor while holding the button "[" will be sent. If you move up cursor after single pressing down the button another action will be performed. for RB__ MG_Wait(500) for RB__RB_ Send, {[ Down} MG_...
by Pyonkichi
19 Jul 2020, 22:04
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

@Previz, That is logically impossible. Both operations, pressing right button down, moving cursor up and releasing a button, are exactly same. The script cannot differentiate which action do you want if both gestures are assigned to the same target.
by Pyonkichi
17 Jul 2020, 21:22
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

Previz , Assign the following action to "RB_". ;Execute After Button Up if (!MG_Hold()) { ;Action to be performed immediately after the gesture has been entered. Send, {[ Down} } else { ;Action to be performed when a button has been released. Send, {[ Up} } ;This processing can be added from "Execu...
by Pyonkichi
15 Jul 2020, 21:52
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

@Netmano, There is no feature as you want. I'm considering to implement it.
by Pyonkichi
14 Jul 2020, 19:56
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

Netmano , Here you go. for "RB__" ;Execute After Waiting if (!MG_Timer(-300)) { ;Action to be run immediately after the gesture. TrayTip,, Single } for "RB__RB__" TrayTip,, Double for "RB_WU_" Send, ^{tab} MG_Abort() By the way, I will implement new function to prevent context menu for the actions ...
by Pyonkichi
13 Jul 2020, 09:57
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

@Netmano, Assign this to RB__.

Code: Select all

if (MG_Executed==1) {
	Send, ^n
}
by Pyonkichi
11 Jul 2020, 22:10
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

Netmano , Yes, this setting is to consider a gesture that is interrupted by releasing a trigger as one gesture. But, if you want to assign different actions to single and double, setting this item is not enough. You need to devise the assigned action like follows. for "RB_8_": ;Execute After Waitin...
by Pyonkichi
17 Jun 2020, 21:31
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

@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
}
by Pyonkichi
05 Jun 2020, 20:00
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

@hachondeoro,
You don't have to think complicated. You can implement it by the same way.
Define "X2B__" to "Send, ^{Tab}".
Define "X2B_8_" to "Send, {F5}".
by Pyonkichi
05 Jun 2020, 04:24
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

hachondeoro , If I understand what you mean, you don't need any special configuration to get what you want. Just define "MG_8_" and assign "Send, {F5}". (Don't define "MB_" and "MB__".) When you press M-button and move up cursor and release a button, F5 will be sent. When you press M-button and rel...
by Pyonkichi
03 Jun 2020, 21:26
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

MouseGestureL v1.34

MouseGestureL.ahk v1.34
  • Help files have been updated.
  • Improved some behaviors of the configuration dialog box.
Download:
[Mod edit: Links fixed.]
by Pyonkichi
17 May 2020, 19:03
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

@gregster, Thanks :thumbup:
by Pyonkichi
16 May 2020, 20:20
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

@Previz, I correct the code.

for single:

Code: Select all

send, one movement test
MG_Wait(500)
return		; not necessary
for double:

Code: Select all

send, double movement test
MG_Abort()
return		; not necessary
by Pyonkichi
16 May 2020, 01:22
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 336
Views: 130771

Re: MouseGestureL

Previz , 1. I've considered your request, but it's complicated. It's easy to detect changing and saving of the temp file, but hard to detect that the editor has closed and released the file. It is necessary to avoid editing conflicts with the script side. I've tried to detect it by FileOpen() funct...

Go to advanced search