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
Cerberus
  • Members
  • 175 posts
  • Last active: Aug 17 2017 05:01 PM
  • Joined: 20 Jul 2009
Wow, this is amazing!! Very nice work. It works well.

Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
Hi Cerberus
Thank you for being pleasing .
If troubled, please do not hesitate to hear it. Posted Image



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.1. Installation ・ Update

Mis-
MouseGesture.ini
The file for describing an additional script.
It is generated when "extended script edit" is performed.

Correct-
MouseGesture.ini
The ini file which saves setting information.
It is not in a Zip file.
It is generated when a setup is saved.

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
Registration of the mouse gesture is done by setting the following three step.
Condition definition>Gesture definition>Action Binding.

The easy example of a setting

Condition definition
It can use, even if it does not carry out the Condition definition.
Directly under the cursor or an active window can be operated on Conditions Default.
※Parts of the window of the Custom Condition, You may find that some software does not work effectively.

Gesture definition
The simple gesture can prevent incorrect recognition.
4-direction mode of a stroke are recommended at first.
If it becomes insufficient, please shift in the eight directions.
When it may shift to the 8 direction mode,
it is good to choose the 8 direction mode and to set "slanting width" as 0.
If your mouse is 5 button mouse , You can set a lot in the way of locker gesture .
Screen end contact recognition is easier than an icon click.

Action Binding
The keystroke is the easiest setup.
I think it would be useful also to replace the mouse had been assigned to a key operation in the Autohotkey until now.
※"Execute toolbar button command " and "Execute Menubar Command " may not work effectively in some software.


Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
In the Conditions definition section, The definition name of a condition
definition screen is read as a section name.
Please attach the name which is easy to be reminded of conditions.

A gesture definition and a Action Binding are described into the same section.
Any section name is good.
Rearrangement of the list of screens is possible with a sorting button.

I have named so that the same kind of gesture may be collected.
Gesture-related language is combined with a head and the language
of a relation of operation is combined with after that to make the section name.

For example, the section name is attached like the following example.

【X1B__Copy】【X1B_LB_Paste】【X2B__ESC】【X2B__X2B__Same_value】【X2B_LB_Cut】
【Window_Half_B】【Window_MAX】【Window_Restore all】【Window_Size_L_M】
【SE_ET2__Home】【SE_EB2__End】【SE_EL2__Login】

A blank can also be included in the middle of a section name.
When you edit, give freely the name which is easy to find it.



条件定義ページでは、条件定義窓の定義名がセクション名になります。
条件を連想できる分かりやすい簡単な名前を付けてください。

ジェスチャ定義と動作定義は同じ名前で定義されます。
リストの再整理はソートボタンで可能です。

私は基本的に先頭にジェスチャ名,後ろに動作定義を表す定義名としています。
例えば,下記のようにつけています。

【X1B__Copy】【X1B_LB_Paste】【X2B__ESC】【X2B__X2B__Same_value】【X2B_LB_Cut】
【Window_Half_B】【Window_MAX】【Window_Restore all】【Window_Size_L_M】
【SE_ET2__Home】【SE_EB2__End】【SE_EL2__Login】

条件定義名は名前に色々制約がありますが
ジェスチャ定義,動作定義は空白を含むことも出来ます。
使い易いように,自由に名前を付けてください。


Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
You can specify a range of corner recognition by using MG_ScreenEdge.zip.
http://code.google.c.../downloads/list
If you are using, and the Screen end contact recognition is may be hard to check a reaction.
If Soundplay is put in operation, the check by sound can be performed.
If Gui is used, it was displayed and can check.
Prepare some images, such as SE_CLB.bmp, save it to a folder.

https://ahknet.autoh...0513/SE_CLB.bmp

It is the case when the operation setting of the contact in the lower left corner of the screen.

trans=150      ;;0 to 255 0 invisible transparency of the bmp
   image=%A_ScriptDir%\Components\ImageFiles\SE_CLB.bmp
   Gui,+Owner +AlwaysOnTop -Resize -SysMenu -MinimizeBox -MaximizeBox -Disabled -Caption -Border -ToolWindow
   Gui,Margin,0,0
   Gui,Add,Picture,,%image%
   Gui,Show,X-0 Y-950 W100 H100 NoActivate,Corner
   WinSet,TransColor,000000 %trans%,Corner  ;;A transparent black in the picture
   WinMove,Corner  ,,0,950
   Sleep,50
   ;--------------------------------------
   ;;Please describe here the behavior.
   ;--------------------------------------
   Sleep,100
   Gui,Destroy

This
3.14.The example of a setting of a help
Switching window in the wheel up and down at the position of the 1/3 middle taskbar.
It can also use.

https://ahknet.autoh...0513/WS0004.bmp

Source: skrommel
Posted: Sun Dec 11, 2005 12:27 am Post subject: On MouseDown
<!-- m -->http://www.autohotke... ... usegesture<!-- m -->



Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
Sorry.
Since this report had not obtained permission of copyright, it was deleted.

Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
Sorry.
Since this report had not obtained permission of copyright, it was deleted.

  • Guests
  • Last active:
  • Joined: --
Just found this great utility,still learning usage,thanks you!

Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
Sorry.
"タスクバー上でホイールを回転するとタスクを切り替えるスクリプト115.zip(The script which will change a task if a wheel is rotated on a taskbar )" , so there has been no check of copyright, it is deleted also including a related article in 24 hours.


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

■ Contents of this update
   ○Ver.1.16 2012/06/17
・A script file name and folder composition are changed.
(MouseGesture.ahk ⇒ MouseGestureL.ahk)

・"Not Match" option setup to the individual conditions in a condition definition is added. 、
It abolishes " Not Match Any Rule," and "Not Match All Rules".

・An option setup of the coincidence decision method was added
to the following items of a condition definition.
A window class, a control class, an executable file name, and a title

・It corresponds to Screen Edge Recognition in multi-display environment.

・Was added to the configuration options related to Screen Edge Recognition .

・Function MG_SendWheel() which generates a wheel rotation message is added,
and it adds "Send Wheel Rotation Message" to Input Device Emulation of action template.


・It changed so that a fraction and a decimal could be specified
as the parameter of MG_CursorInRect().

・The specification which can describe a comment at each end of
the sentence in MouseGesture.ini is abolished.
(Correspondence to the problem which cannot insert a space
before # when using a Windows-key for a modifier key by the Send command )

・The partial action of a setting screen is improved.


■ 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
MGLahk116.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
Plug-in was translated into English.

■ Download
<!-- m -->http://code.google.c.../downloads/list<!-- m -->

WinResize & Wincatch plugin -Plugin (made by some japanese user)
●Extended contents  
Two are added to the category of the Window control of an action template below.
1,The size and the position of a window are changed.  
2,Grab the window 


The author's permission was obtained and translation into English was performed by Shirubadappuru .


Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
In order to the letters A-Z are considered identical to their lowercase counterparts,
I ask you for the following correction. Posted Image


The 3257th line of MG_Edit.ahk
Mis-
Join(res, szNot . "(MG_" . szType . "==""" . Target_%idx%_%A_Index%_Value . """)", delim)
Correct-
Join(res, szNot . "(MG_" . szType . "=""" . Target_%idx%_%A_Index%_Value . """)", delim)

It is correction related to the Custom conditional expression .

The 246th line of MG_CommonLib.ahk
Mis-
else if (RegExMatch($1, "^(WClass|CClass|Title|Exe|Custom|Include)"))
Correct-
else if (RegExMatch($1, "^(WClass|CClass|Title|Exe|WClass_[NPTBR][PTBR]?|CClass_[NPTBR][PTBR]?|Title_[NPTBR][PTBR]?|Exe_[NPTBR][PTBR]?|Custom|Include)$"))

These will be fixed in the next version.


Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
【Download 】
http://code.google.c.../downloads/list

【Contents 】
・Wheel up and down at the tab to switch tabs in the Settings screen MouseGestureL.ahk.

・Display some data from the clipboard text when copying to the vicinity of the cursor.

・A message will be displayed, if gesture is started when the usage rate of cpu is high.


Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
In eight direction mode, those who mainly simple definition, the vertical and horizontal direction is good.
The default is the vertical and horizontal direction in the mouse gestures feature in the browser Firefox, Chrome, such as the Opera. Posted Image

Moreover, if the operation intended as it was also on the Help text, even if similar gesture like "<-->" and "-><-" was summarized to one definition and anything was inputted is made to be performed, recognition accuracy will go up.

Since the kind of 8-directions of gesture similar as it is increases,
They are examples of a setting as described in Diagonal Angle To 0 "After Orthigonal" to 90 "After Diagonal."

Example:

Gesture the image of M
[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_

The example of a setting of all the alphabet is put on the help of the next version.