Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

MouseGestureL


  • Please log in to reply
136 replies to this topic
Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
Posted ImageThere is correction of description of The Help.

4.5.2.Run in the hot key, such as menu commands

Correct-
The subroutines currently assigned to the menu command are the respectively following names.
If it calls by GoSub from a hot key, the often used function will be performed quickly.

MG_NaviToggleEnable
ON/OFF of the Navi display
MG_Enable
Validation of a start trigger
MG_Disable
Start trigger cancellation
MG_ToggleEnable
Effective/invalid change of a start trigger
MG_Edit
Setting display
MG_EditUser
MG_User.ahk edit
MG_Reload
A script is rebooted for a definition script after re-generation.

To register a hot key
Please write in Subrooutine-Definition 4.5.3.Extended script
; Case1 Switching ON / OFF of display Navi ^ n with a hot key
^n::Gosub,MG_NaviToggleEnable 

;  Case2 Call the task tray menu  ^m with a hot key
^m::Menu,TRAY,Show,,    ;Display at the cursor position

;  Case3 Call the Setting display  ^e with a hot key
^e::
IfWinExist,MouseGestureL Configuration
{
}
else
{
SetTimer,MG_Edit,-1
}
WinActivate,MouseGestureL Configuration
return
 

These can also be assigned to gesture.

#Show Tasktray_menu
[Tasktray_menu_M_Stroke]
G=RB_8282_
G=RB_862862_
G=RB_82862_
G=RB_86282_
G=RB_9393_
G=RB_931793_
G=RB_93793_
G=RB_93193_
G=RB_8624862_
G=RB_824862_
G=RB_862482_ 
Default=SetTimer,Hoge_menu,-1【TAB】Sleep,1【TAB】return【TAB】Hoge_menu:【TAB】Menu,TRAY,Show,700,200【TAB】return

#Show Setting_screen.Beforehand,Hot key^e needs to be set up. 
[Setting_screen_E_Stroke]
G=RB_4646_
G=RB_426426_
G=RB_1313_
G=RB_46426_
G=RB_42646_
G=RB_139713_
G=RB_13713_
G=RB_13913_
G=RB_4268426_
G=RB_468426_
G=RB_426846_ 
G=RB_71397139_ 
Default=Send,^e

To the inside of a setup of a mouse gesture
GoSub,MG_Edit.ahk
SetTimer,MG_Edit,-1
Run,%A_ScriptDir%\MG_Edit.ahk

Since a Gesture Reload will no longer be performed by the OK button if there is, please do not use these at Action Binding.

Posted Image

Description of this part is corrected by the help of the next version.

Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
2012 06/30
・The list display script of the example of a setting
Posted Image
■ Download
<!-- m -->http://code.google.c.../downloads/list<!-- m -->

ExampleExplorer.ahk
http://www53.atwiki....ile=example.jpg


Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
Posted ImageIt will become convenient if MG_SendWheel (dir, counts=1) is used.

Refer to the help corresponding section for the method of a setup.
3.14.The example of a setting
Redirect wheeling to target control.

Although there are small control arrows in the input column of Recognition Tab of the setting screen,
a number can be changed now by the wheel upper and lower sides on the input column.
It is not necessary to click at this time and to activate.


Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
MouseGestureL.ahk Ver.1.17 has been released.
Improvements were made and easier to use.

■ Contents of this update
○Ver.1.17 2012/07/07
 ・The "E" (it edits by editor) button is added to the screen of Action Binding.

 ・It corrects so that the condition definition set as Match Exact Word may
  not distinguish a capital letter and a small letter.

 ・The fault by which operation is not assigned to the Condition Definition
  of the name which starts with WClass, CClass, Title, and Exe is corrected.


■ How to Update
You may overwrite all the contents of the archive.

↓↓↓Explanation in the case of updating from V1.15 or earlier ↓↓↓
Even if it updates by overwrite, the script is constructed so that it may operate normally.
If MouseGesture.ini is in the original place, a name is changed and it is saved as MouseGestureL.ini.
This processing is only an ini file.
In the case of those who are using Screen Edge, it is necessary to copy a new edge module to a Buttons folder.
(This operation is a procedure of 3.11. Screen Edge Recognition of new Help after starting. The direction to perform is made simply. )
If there is "MG_User.ahk" the additional script was described to be, please copy into a Components folder.
Please start MousegestureL.ahk after that and check operation.
It is satisfactory although the unnecessary file of a previous version remains.
When worrisome, please delete with reference to the following.
○:The folder to leave
■:The folder to delete
☆:The file to leave
▼:The file to delete
MousegestureL +---○Components
|
+---○Config
|
+---○Docs
|
+---○Languages
|
+---○Plugins
|
+---■MG_Buttons
|
+---■MG_ScreenEdge
|
+---☆Mg_Edit.ahk
|
+---☆MouseGestureL.ahk
|
+---☆Readme_English.txt
|
+---☆Readme_日本語.txt
|
+---▼MouseGesture.ahk
|
+---▼MG.CommonLIb.ahk
|
+---▼MG.Config.ahk
|
+---▼MG.User.ahk
|
+---▼Mousegesture.ini



■ Download
MGLahk117.zip
:idea: <!-- m -->http://code.google.c... ... akechanges<!-- m -->
:oops: Comments, ideas and insults are all welcome. :oops:

Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
There is correction of description of The Help.Posted Image

3.7.Action Binding
Correct-
If the "E" button is pushed, a text editor can open and edit.
Please do not operate a setting screen during edit with an editor.
Fault in this case is carried out the outside of support.
If edit of an editor finishes, please overwrite and close an editor.
Since the contents of the setting screen have been changed, please push "Update" button.

The help was corrected.


Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
Function addition plugin
関数追加、削除プラグイン
Created by Mr. UDM
【Download URL 】
<!-- m -->http://code.google.c.../downloads/list<!-- m -->

http://www53.atwiki....dd_function.jpg

Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
Correction of being unable to use Not Match by Disable ,
Disableに不一致を使えるようにする修正。
I ask you for the following correction.

The 246th line of MG_CommonLib.ahk
MG_CommonLib.ahkの246行目を↓に置き換えで直ります。
Correct-
else if (RegExMatch($1, "^(WClass|WClass_[NPTBR][PTBR]?|CClass|CClass_[NPTBR][PTBR]?|Title|Title_[NPTBR][PTBR]?|Exe|Exe_[NPTBR][PTBR]?|Custom|Custom_N|Include|Include_N)$"))

Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
2012 07/16
・WheelAccel.ahk
Created by Mr. mobitan
The example of use in the function call of MouseGestureL
WheelAccel.ahk をMouseGestureL.ahk で関数呼び出し。
Posted Image

■ Download ダウンロード
The examples of setting
<!-- m -->http://code.google.c.../downloads/list<!-- m -->


2012 07/28
・Launcher.ahk
Launcher plugin ランチャプラグイン

A setup is manually troublesome.
Since it is plugin, a command peculiar to MouseGestureL.ahk can also be used.
設定はスクリプトを直接編集する形式なので,面倒です。
プラグインなのでMouseGestureL.ahk 固有の関数も使えます。


http://www53.atwiki....=Launcher_c.jpg

The call from the task tray menu,
Another method is registered into a Action Binding as follows.
呼び出しはタスクトレイメニューから又は動作定義に
SetTimer,Siru_Launcher_Menu,-1
Sleep,1

●Usage
Please use editing a script.
●使い方
スクリプトを編集して使ってください。


■ Download ダウンロード
The examples of setting
<!-- m -->http://code.google.c.../downloads/list<!-- m -->

Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
Launcher Ver.1.00 2012/10/10

The direction of ↓ has explanation of Japanese. 日本語の説明は↓の方にあります。
●Summary
【Software Name】Launcher.ahk
【Category】Utility
【License】GPL
【The author】 Shirubadappuru
【Download URL 】http://code.google.com/p/mousegesturel/
【Contact】 http://www.autohotkey.com/community/viewtopic.php?f=13&t=83057
--------------------------------------------------------------------------------------------
●Extended contents
Launcher
It is an example in the case of assigning right button length aggressiveness.
Since he is trying for the 1st line not to display a context menu at the time of the Ramcha call, a right button double click cannot be set up.

[RB__]
G=RB__
Default=if((MG_Executed=1)){【TAB】【TAB】if (A_TimeSincePriorHotkey<300){【TAB】;Msgbox,%A_TimeSincePriorHotkey%【TAB】;;Click the short-time behavior【TAB】Send,{RButton}【TAB】}else{【TAB】;Describes the behavior of the click when press and hold【TAB】SetTitleMatchMode, 3【TAB】Tooltip, Launcher【TAB】IfWinExist, ahk_class CabinetWClass【TAB】{【TAB】WinClose ,ahk_class CabinetWClass, , 0【TAB】}【TAB】IfWinExist,Launcher ahk_class AutoHotkeyGUI【TAB】{【TAB】WinActivate,Launcher ahk_class AutoHotkeyGUI【TAB】}else{【TAB】Run,C:~\Launcher.ahk 【TAB】}【TAB】Sleep,200【TAB】Tooltip【TAB】}【TAB】}

--------------------------------------------------------------------------------------------
●Preparation
Please put Launcher.ahk on a suitable folder.
--------------------------------------------------------------------------------------------
●Environment where it operates
This script operates as a script of AutoHotkeyL.
--------------------------------------------------------------------------------------------
●Usage
○Please use editing a script.
--------------------------------------------------------------------------------------------
●Source
○The gui display obtained the following advice.
AutoHotkey スレッド part14
989 :名無しさん@お腹いっぱい。 [↓] :2012/10/11(木) 00:26:01.20 ID:qYCsXWrZ0 [PC]
--------------------------------------------------------------------------------------------
●Update
2012/07/27 V0.01
It creates by a button formula.
2012/07/29 V0.02
It changes into nine items per page.
2012/08/02 V0.03
It changes into a picture type.
It changes so that the last tab may be opened.
2012/08/03 V0.04
Effect of Pressing the button to add a picture
2012/10/10 V1.00
In order to call early, plug-in form is changed into the script
which stopped and became independent.
--------------------------------------------------------------------------------------------
●Contact
Questions
AutoHotkey Community Forum
To please..
<!-- l --><a class="postlink-local" href="http://www.autohotkey.com/community/viewtopic.php?t=83057">viewtopic.php?t=83057</a><!-- l -->
--------------------------------------------------------------------------------------------
Posted Image


--------------------------------------------------------------------------------------------
●概要
【ソフト名 】Launcher.ahk
【ソフト種別】ユーティリティ
【ライセンス】GPL
【著 作 者 】Shirubadappuru
【配布先URL 】http://code.google.com/p/mousegesturel/
【連 絡 先 】http://www.autohotkey.com/community/viewtopic.php?f=13&t=83057
--------------------------------------------------------------------------------------------
●拡張内容 
Launcher
右ボタン長押しに割り当てる場合の例です。1行目はランチャ呼び出しの時コンテキストメニューを表示させないようにしているので右ボタンダブルクリックは設定出来ません。

[RB__]
G=RB__
Default=if((MG_Executed=1)){【TAB】;クリックが1回のみだった場合の動作【TAB】if (A_TimeSincePriorHotkey<300){【TAB】;Msgbox,%A_TimeSincePriorHotkey%【TAB】;短クリック時の動作【TAB】Send,{RButton}【TAB】}else{【TAB】;長押し時の動作【TAB】SetTitleMatchMode, 3【TAB】Tooltip, Launcher【TAB】IfWinExist, ahk_class CabinetWClass【TAB】{【TAB】WinClose ,ahk_class CabinetWClass, , 0【TAB】}【TAB】IfWinExist,Launcher ahk_class AutoHotkeyGUI【TAB】{【TAB】WinActivate,Launcher ahk_class AutoHotkeyGUI【TAB】}else{【TAB】Run,C:~\Launcher.ahk 【TAB】}【TAB】Sleep,200【TAB】Tooltip【TAB】}【TAB】}
--------------------------------------------------------------------------------------------
●準備作業
適当なフォルダに
Launcher.ahkを置いてください。
--------------------------------------------------------------------------------------------
●動作環境
このスクリプトはAutoHotkeyLのスクリプトとして動作します。
--------------------------------------------------------------------------------------------
●使い方
○スクリプトを編集して使ってください。
--------------------------------------------------------------------------------------------
●出典
○gui表示は下記の助言を頂きました。
AutoHotkey スレッド part14
989 :名無しさん@お腹いっぱい。 [↓] :2012/10/11(木) 00:26:01.20 ID:qYCsXWrZ0 [PC]
--------------------------------------------------------------------------------------------
●更新履歴
2012/07/27 V0.01
ボタン式で作成
2012/07/29 V0.02
1面9アイテムに変更
2012/08/02 V0.03
画像式に変更
前回のタブを開くよう変更
2012/08/03 V0.04
画像にボタン押す効果を追加
2012/10/10 V1.00
呼び出しを早くするためプラグイン形式をやめ独立したスクリプトに変更
--------------------------------------------------------------------------------------------
●質問・要望
質問・要望等は下記のサイト宛お願いします。
AutoHotkey Community Forum
<!-- l --><a class="postlink-local" href="http://www.autohotkey.com/community/viewtopic.php?t=83057">viewtopic.php?t=83057</a><!-- l -->
--------------------------------------------------------------------------------------------



Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
The number of Gesture definitions
ジェスチャ定義数


A Condition definition, a Gesture definition, and a Action Binding perform a setup of this software.
It will become difficult to use if the number of gesture definitions increases.
It is like making many personal identification numbers.
The following problems arise.
Gesture is complicated. You will not remember the gesture.

Assigning the script used frequently to a mouse gesture, others propose the method of performing, after checking by launcher.
Many scripts of AutoHotkey can be comfortably used by this method.

Currently, because of the accident, but can not be downloaded
several Launcher has been announced autohotkley forum also.

本ソフトの設定は条件定義,ジェスチャ定義,動作定義により行います。
これらの3つの内,ジェスチャ定義だけは,あまり増やすと使いにくくなります。
暗証番号をいくつも設定するようなもので,ジェスチャが複雑になったり,
ジェスチャを覚えきれない等の問題が起こります。

良く使うジェスチャは自然と覚えますが,たまにしか使わないジェスチャは
間違えたりすることもあります。
マウスジェスチャでスクリプトを実行するのは,よく使うものに限定し,
他は例えばランチャで確認してから実行する等,別の方法にした方が
AutoHotkeyのスクリプトを快適に多く使うことが出来ます。

AutoHotkeyフォーラムやソフト紹介サイトに優れたLauncherが多数紹介されています。


Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
There is correction of description of The Help.Posted Image

3.14.The example of a setting
Correct-
・It copies by the 4th button click.
・第4ボタンクリックでコピー。


[X1B__Copy]
G=X1B__
Default=if(MG_Executed=1){【TAB】Tooltip,Copy【TAB】Send,^c【TAB】Sleep,300【TAB】Tooltip【TAB】}
Browser=

[X1B_ Copy_B]
G=X1B_
Browser=if(MG_Hold() && MG_Hold()<300){【TAB】Tooltip,Copy【TAB】Send,^c【TAB】Sleep,300【TAB】Tooltip【TAB】}
Default=
In case of a setup of Default, although Explorer back, it is performed.
There is also an application from which Tab changes.
Please assign a setup of Browser to those applications.
Defaultの設定だとエクスプローラは戻るが実行されます。Tabが切り替わるアプリもあります。
それらのアプリにはBrowserの設定を割り当ててください。


Source:
if(MG_Executed=1) :The number of the gesture exercised during this gesture recognition
if(MG_Hold() && MG_Hold()<300) :The time currently depressed assigns operation to a short click.

Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
X1B_
The following setup may be complicated and malfunction may take place.
The method of【Even if you set an action to side buttons Back and Forward of the browser of the default behavior is performed. -- the another method of repealing
will be recommended if a setup of the driver of a mouse is possible.

以下の設定は複雑で,また誤動作が起こることもあります。マウスのドライバーの設定が可能ならば【サイドボタンでのブラウザの 戻る,進む (既定動作)を無効にする別の方法】を推奨します。


4.2.6. The script which assigns another operation to long aggressiveness and a short click is performed even after operation of long aggressiveness pushes other buttons.
It is solvable if it describes as follows in X1B_ to avoid this.
4.2.6.長押しと短クリックに別の動作を割り当てるスクリプトは長押しの動作が他のボタンを押した後も実行されます。
これを避けるには ,X1B_の場合下記のように記述すると解決できます。

Copy of the script in Initialization Process of Extension Script
拡張スクリプトのユーザー定義の初期化処理にコピー
;-----------------------------------------------------
;;Initialization of a stroke recognition variable 
[color=#808000];;ストローク認識変数の初期化[/color]
StrokeN    :=  0
;-----------------------------------------------------

Please describe at the head of stroke operation of X1B_U_ etc.
To X1B_RB_, it is unnecessary.
X1B_U_等のストローク動作の先頭に記述してください。X1B_RB_等には不要です。
StrokeN    :=  1
;Following abbreviation    [color=#808000] ;以下省略[/color]
X1B_ in case there is a progressing function which returns to an application
アプリに戻る進むの機能がある場合のX1B_
This setup is mainly used.
この設定を主に使います。
if(MG_Hold())&&(MG_Hold()<500){
;Click the short-time behavior    [color=#808000] ;短クリック時の動作[/color]
}else{
StringRight, Siru_Check,A_PriorHotkey, 8
if(MG_Hold())&&(MG_Hold()>=500)&&(%StrokeN% == 0) &&(Siru_Check="XButton1")&&(MG_Gesture=""){
;Describes the behavior of the click when press and hold     [color=#808000] ;長押し時の動作[/color]
}else{
if(MG_Hold())&&(MG_Hold()>=500){
}
}
}
}
StrokeN    :=  0
X1B_ in case there is no progressing function which returns to an application
アプリに戻る進むの機能が無い場合のX1B_
In this case, X1B__ is recommended from this setup.
この場合,この設定よりX1B__を推奨します。
if(MG_Hold())&&(MG_Hold()<500){
;Click the short-time behavior    [color=#808000] ;短クリック時の動作[/color]
}else{
StringRight, Siru_Check,A_PriorHotkey, 8
if(MG_Hold())&&(MG_Hold()>=500)&&(%StrokeN% == 0) &&(Siru_Check="XButton1")&&(MG_Gesture="X1B__"){
;Describes the behavior of the click when press and hold     [color=#808000] ;長押し時の動作[/color]
}else{
if(MG_Hold())&&(MG_Hold()>=500){
}
}
}
}
StrokeN    :=  0
In order to operate this setup certainly, it is necessary
to be assigned such as blank,MG_Abort() etc to X1B__ .
It becomes impossible therefore, to use X1B__X1B__.
この設定を確実に動作させるためには
X1B__に空白,MG_Abort()等を割り当てる必要があります。
従って,X1B__X1B__が使えなくなります。

Copy, cut, paste, etc. it is useful to assign a shortcut you use frequently.
コピー,切り取り,貼り付け,等よく使うショートカットを割り当てると便利です。


I am assigning as follows.
X1B -- short -- Copy
X1B -- long -- Cut
X2B -- short -- Paste
X2B -- long -- Esc


私は下のように割り当てています。
X1B 短く Copy
X1B 長く Cut
X2B 短く Paste
X2B 長く Esc



Please assign operation effective in one of X1B_ and X1B__ to the same target.
同じターゲットに対してはX1B_,X1B__のどちらかに有効な動作を割り当ててください。

The judgment of MG_Gesture interchanges at the time of X2B_.
;X2B_ in case there is a progressing function which returns to an application
if(MG_Hold())&&(MG_Hold()>=300)&&(%StrokeN% == 0) &&(Siru_Check="XButton2")&&(MG_Gesture="X2B__"){
;X2B_ in case there is no progressing function which returns to an application
if(MG_Hold())&&(MG_Hold()>=300)&&(%StrokeN% == 0) &&(Siru_Check="XButton2")&&(MG_Gesture=""){

X2B_の時にはMG_Gestureの判定が入れ替わります。
;アプリに戻る進むの機能がある場合のX1B_
if(MG_Hold())&&(MG_Hold()>=300)&&(%StrokeN% == 0) &&(Siru_Check="XButton2")&&(MG_Gesture="X2B__"){
;アプリに戻る進むの機能が無い場合のX1B_
if(MG_Hold())&&(MG_Hold()>=300)&&(%StrokeN% == 0) &&(Siru_Check="XButton2")&&(MG_Gesture=""){


Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
X1B__
Long aggressiveness and short click Another method
長押しと短クリック 別の方法
X1B__X1B__ can also be defined as assigning X1B__ the following scripts.
X1B__に以下のスクリプトを割り当てると
X1B__X1B__も定義出来ます。

if((MG_Executed=1)&&(!MG_Timer(-500))){
if (A_TimeSincePriorHotkey<700){
 ;Click the short-time behavior 
[color=#808000] ;短クリック時の動作[/color]
}else{
 ;Describes the behavior of the click when press and hold
[color=#808000] ;長押し時の動作[/color]
}
}

Please assign operation effective in one of X1B_ and X1B__ to the same target.
同じターゲットに対してはX1B_,X1B__のどちらかに有効な動作を割り当ててください。
Since it is troublesome, proper use is set to two, B and derfaulrt.
面倒なので使い分けはBとdafault2つにしています。

[B]
Include=Browser
Include=Help
Include=NotepadPlus
Include=explorer
WClass=#32770

Please use and adjust the number suitably.
数字は使ってみて適当に調整してください。

robertmarkbram
  • Members
  • 48 posts
  • Last active: Oct 01 2019 08:26 AM
  • Joined: 07 Oct 2010
Wow. I can see that a lot of work went into this - I am impressed.

I am having a little trouble working out exactly how I can start using this though. It seems like there are only four gestures pre-defined - is this right?

When I open the gesture definition screen, it seems many characters don't display. Is there something I can do to correct this?

Posted Image

I am using WIndows 7, 64 bit - with Autohotkey_L v1.1.05.02

Rob
:)

Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
hello robertmarkbram .
Thank you for the question.

Since the arrow which is not spread on Japanese fonts
is contained in the gesture definition name, it is not displayed.
Please rename a figure to the suitable name for reference.
The same arrow also as a button is used.
It nominates of a program for correction.


"C:~\MouseGestureL\Languages\English.ahk"

; Buttons
ME_LngButton001 = &OK
ME_LngButton002 = &Cancel
ME_LngButton003 = MouseGestureL &Help
ME_LngButton004 = &Import from Clipboard
ME_LngButton005 = +
ME_LngButton006 = -
ME_LngButton007 = C
ME_LngButton008 = ↑ ;;★Change
ME_LngButton009 = ↓ ;;★Change

http://www53.atwiki....&file=イメージB.jpg