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
Help was corrected.

The link was added to pictures.


Helpを修正しました。
画像にリンクを追加


Download
http://code.google.c.../downloads/list

Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
MGL-スクロールの設定例 -Irfanviewでズーム-The example of a setting of scrolling -Zoom in Irfanview-

サイドボタンを押したままホイールを回転してください。


Please rotate a little wheel, with a side button pushed.


[IrfanView]
WClass=IrfanView
WClass=FullScreenClass

[X2B_WU_]
G=X2B_WU_
IrfanView=Send,{NumpadAdd}

[X2B_WD_]
G=X2B_WD_
IrfanView=Send,{NumpadSub}

Posted Image

IrfanViewではデフォルトでホイール回転に画像切り替えが割り当てられています。
これを下記のように変更する設定です。
画像位置でホイール回転:ズーム
画像以外の位置でホイール回転:画像切り替え

フルスクリーンの時の画像切り替えは左クリック/右クリックで行ってください。


At IrfanView, the picture change is assigned to wheel rotation by the default.
It is a setup which changes this as follows.
It is a picture point and is wheel rotation:zoom.
It is positions other than a picture and is a wheel rotation:picture change.
Please do click right click / left when the full-screen image switching.

[IrfanView]
WClass=IrfanView
WClass=FullScreenClass

[IrfanView_Not_Client]
And=1
Include=IrfanView
Custom_N=MG_HitTest() = "Client"

[IrfanView_Client]
And=1
Include=IrfanView
Custom=MG_HitTest() = "Client"

[IrfanView_FullScreenClass]
WClass=FullScreenClass

[WU_]
G=WU_
IrfanView_FullScreenClass=Send,{NumpadAdd}
IrfanView_Not_Client=Send,{Backspace}
IrfanView_Client=Send,{NumpadAdd}

[WD_]
G=WD_
IrfanView_FullScreenClass=Send,{NumpadSub}
IrfanView_Not_Client=Send,{Space}
IrfanView_Client=Send,{NumpadSub}


Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012

スクロールの設定例 -Excelの横スクロール- The example of a setting of scrolling -Horizontal scrolling of Excel-


mouse-2r.jpg

右ボタンを押したままホイールを少し回転してください。
右ボタンを押している間,横スクロールが繰り返されます。
右ボタンを押したままホイールを逆に回転すると方向が切り替わります。
アクティブウィンドウでは無く,カーソル下のウィンドウがスクロールされます。

出典:

 ・Help 4.2.8.
 ・マウスジェスチャーツール総合スレpart12 - 2ちゃんねる
 6 :名無しさん@お腹いっぱい。 [↓] :2012/12/09(日) 19:05:00.41 ID:wD14GbnV0 (6/10) [PC]
 ~マウ筋FAQみたいなもの~

 Q:キーが押しっぱなしになっている?

Please rotate a little wheel, with a right button pushed.
Horizontal scrolling is repeated while pushing the right button.
If a wheel is rotated conversely, with a right button pushed, a direction will change.
It is not an active window and the window under a cursor is scrolled.

 


 Source:
 ・Help 4.2.8.
 ・マウスジェスチャーツール総合スレpart12 - 2ちゃんねる
 6 :名無しさん@お腹いっぱい。 [↓] :2012/12/09(日) 19:05:00.41 ID:wD14GbnV0 (6/10) [PC]
 ~マウ筋FAQみたいなもの~
 Q:キーが押しっぱなしになっている?


【1】拡張スクリプトのユーザー定義サブルーチンにコピー

【1】It copies to the user definition subroutine of an extended script.

 

 

 

;↓↓↓Horizontal Scroll orientation determination Subroutine ↓↓↓ 
Siru_H_Up:
StringRight, Siru_CheckU,A_PriorHotkey, 4
if(Siru_CheckU!="Down"){
MG_Scroll2("H", -1)
}else{
if(Siru_CheckU!="elUp"){
MG_Scroll2("H", 1)
}
}
Sleep,30
return

Siru_H_Dn:
StringRight, Siru_CheckD,A_PriorHotkey, 4
if(Siru_CheckD!="elUp"){
MG_Scroll2("H", 1)
}else{
if(Siru_CheckD!="Down"){
MG_Scroll2("H", -1)
}
}
Sleep,30
return  
 

 

 

 

 

 

【2】以下をコピーして「クリップボードからインポート」
【2】The following is copied and it is "Import from Clipboard".

 

 

 

 

[→]
G=RB_WD_

Excel=if(MG_While(20)){【TAB】Gosub,Siru_H_Dn【TAB】 }


[←]
G=RB_WU_

Excel=if(MG_While(20)){【TAB】Gosub,Siru_H_Up【TAB】 }
 

 



Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012

スクロールの設定例 The example of a setting of scrolling 

Please rotate a little wheel, with a side button pushed.
Scrolling is repeated while pushing the side button.
If a wheel is rotated conversely, with a side button pushed, a direction will change.

 


 Source:
 ・Help 4.2.8.
 ・マウスジェスチャーツール総合スレpart12 - 2ちゃんねる
 6 :名無しさん@お腹いっぱい。 [↓] :2012/12/09(日) 19:05:00.41 ID:wD14GbnV0 (6/10) [PC]
 ~マウ筋FAQみたいなもの~
 Q:キーが押しっぱなしになっている?

 

It is not an active window and the window under a cursor is scrolled.
Combined use with the auto scroll function of a mouse is assumed.


サイドボタンを押したままホイールを少し回転してください。
サイドボタンを押している間,スクロールが繰り返されます。
サイドボタンを押したままホイールを逆に回転すると方向が切り替わります。

 


出典:
 ・Help 4.2.8.
 ・マウスジェスチャーツール総合スレpart12 - 2ちゃんねる
 6 :名無しさん@お腹いっぱい。 [↓] :2012/12/09(日) 19:05:00.41 ID:wD14GbnV0 (6/10) [PC]
 ~マウ筋FAQみたいなもの~
 Q:キーが押しっぱなしになっている?

アクティブウィンドウでは無く,カーソル下のウィンドウがスクロールされます。
マウスのオートスクロール機能との併用を想定しています。


mouse-s2bwheel.jpg


【1】It copies to the user definition subroutine of an extended script.
【1】拡張スクリプトのユーザー定義サブルーチンにコピー

 

 

 

 







;↓↓↓Scroll orientation determination Subroutine ↓↓↓
Siru_Scroll_Up:
StringRight, Siru_CheckU,A_PriorHotkey, 4
if(Siru_CheckU!="Down"){
MG_SendWheel("U")
}else{
if(Siru_CheckU!="elUp"){
MG_SendWheel("D")
}
}
Sleep,30
return

Siru_Scroll_Dn:
StringRight, Siru_CheckD,A_PriorHotkey, 4
if(Siru_CheckD!="elUp"){
MG_SendWheel("D")
}else{
if(Siru_CheckD!="Down"){
MG_SendWheel("U")
}
}
Sleep,30
return
 ;↑↑↑Scroll orientation determination Subroutine ↑↑↑
 


 

 

 

 

 

 

;----------------------------------------------------------------------------------
【2】The following is copied and it is "Import from Clipboard".

【2】以下をコピーして「クリップボードからインポート」

 

 

 

 

 





[↑↑]
G=S2B_WU_
Default=if(MG_While(50)){【TAB】Gosub,Siru_Scroll_Up【TAB】 }
IrfanView=

[↓↓]
G=S2B_WD_
Default=if(MG_While(50)){【TAB】Gosub,Siru_Scroll_Dn【TAB】 }
 

 

 


Try the app response
if (MG_While (50)) {
Please adjust the numbers.
Also, I would add a MG_Defer () at the beginning
Decreases the frequency of no response.

 

 

アプリの応答を試してみて
if(MG_While(50)){
の数字は調整してください。
また、先頭にMG_Defer()を加えると
応答なしの頻度が下がります。

 

if(MG_Defer()){
Reload
}
if(MG_While(50)){
Gosub,Siru_Scroll_Up

 

 

 

Vertical scroll right button

Horizontal scroll button on the side

I also recommend setting.

 

右ボタンに縦スクロール
サイドボタンに横スクロール
の設定もおすすめです。

 

 

 



Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012

Shiru_Edge.ahk 

 

It is an image display at the time of screen end contact recognition. 

Shiru_Edge.ahk 画面端接触認識の時に画像表示するプラグイン

 

 

All are displayed on a demonstration with the image.
Please display one in this as actual usage .

映像ではデモ用にすべて表示させています。
実際の,使い方としては,
この中の1つを表示させてください。

 

 

 

Download
http://code.google.c.../downloads/list



Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012

Exchange of a mouse button
マウスボタンの入れ替え
Please set up with the driver of a mouse to perform exchange of the right button and the left button etc.
Since MouseGestureL.ahk recognizes the replaced thing as it is, a special setup is unnecessary

It verified by Microsoft SideWinder X3 Mouse and Razer Imperator 2012.
Might be different results depending on the manufacturer.
Logitech G400 Exchange by a driver was not completed.

右ボタンと左ボタンの入れ替え等を行いたいときは
マウスのドライバーで設定を行ってください。
MouseGestureL.ahkは入れ替えられた物をそのまま
認識しますので,特別な設定は必要ありません。

Microsoft SideWinder X3 Mouse, Razer Imperator 2012 マウスで検証しました。
メーカーによっては異なる結果になるかもしれません。
Logicool G400 では ドライバーによる入替えが出来ませんでした。

2013/01/30
マウスの入れ替えはWindowsのコントロールパネルのマウスで行えます。
Logicool G400でもできました、この方法が汎用的です、

The mouse of the control panel of Windows can perform exchange of a mouse.
Logitech G400 was possible. ,
This method is general-purpose.



Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012

About a tilt wheel

Since the specification of a tilt wheel is various, when you assign a tilt to gesture for every maker, please assign operation, after it investigates how the signal is taken out.

Case 1
The mouse of Logitech
It is transmitted only once [ when a tilt wheel is pushed down ].
Even if it continues pushing, a meaning is not accomplished at all.

Case 2
The mouse of Microsoft
A tilt transmits with an analog signal.

(The value of 1 and -1 is returned without an input by 0 and right and left)

Assignment of Autohotkey is impossible.

Case 3
The mouse which repeats the signal of on/off and transmits
When assigning Autohotkey
Please put in commands, such as Sleep, and control operation.

 

 

チルトホイールについて

チルトホイールの仕様はメーカーごとにまちまちなので
チルトをジェスチャに割り当てる場合,信号がどう出されているか調べてから
動作を割り当ててください。

ケース1
ロジクールのマウス
チルトホイールを倒したときの一度しか送信されない。
押し続けてもなんら意味を成さない。

ケース2
マイクロソフトのマウス
チルトがアナログ信号で送信。(入力無しで0、左右で1と-1の値を返す)
Autohotkeyの割り当ては不能。

ケース3
on/offの信号を繰り返し送信するマウス
Autohotkeyに割り当てる場合
Sleep等のコマンドを入れて動作を制御してください。



Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012

Investigation of a key label

The icon of AutoHotKey of a task tray is double-clicked and the main window of a script is opened.
And if [View -> Key history and script info] of a menu is displayed, the label of the key inputted into the latest is displayed there.

 

You may describe as follows to Action Binding

 

 

KeyHistory ; Display the history info in a window.

 

Sourse:Crystal-Creation

http://www.crystal-c...ot-key/hotkeys/

 

 

 

 

キーラベルの調査
タスクトレイのAutoHotKeyのアイコンをダブルクリックし、スクリプトのメインウィンドウを開きます。そしてメニューの【View → Key history and script info】を表示させると、そこに直近に入力されたキーのラベルが表示されています。

 

 

動作設定で下記のように定義しても同じ結果になります。

 

 

KeyHistory ; Display the history info in a window.

 

 

出典:Crystal-Creation

http://www.crystal-c...ot-key/hotkeys/



akane
  • Members
  • 1 posts
  • Last active: Jan 30 2013 04:12 AM
  • Joined: 30 Jan 2013

とても便利に利用させていただいています。

 

お伺いしたいのですが、こちらは左利きのマウス操作にも対応していますでしょうか?

Windowsのコントロールパネル、マウスから主と副を切り替えるにて左クリックと右クリックを入れ替えているのですが、そうしますと右クリックでメニューが表示されなくなります。

 

ヘルプを検索・読んでみたのですが、左利きについての対応は見つかりませんでした。

 

上記にマウスボタンの入れ替えについて記載があるようなのですが、これはマウスに別に付属するドライバソフトでボタンを入れ替えてという前提でしょうか?

 

現在標準的なマウスを使用しており、OSがインストールするHID準拠マウスを利用しています。

 

ご存知の方がおられましたら教えていただけると幸いです。



Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012

質問有難うございました。

前出のKeyHistoryで検証すると、
Windowsのコントロールパネル、マウスで
主ボタンと副ボタンを入れ替えた場合、
左ボタンを操作したとき****RButton
右ボタンを操作したとき****LButton
という風に表示されます、

機械的なマウスの信号が
OSによって右と左が入れ替わり
OSより下位のAutohotkey_Lから見ると、
右ボタンが押されたとき左ボタンが押されたと受け止めています。

OSの守備範囲になりますが、この場合コンテキストメニュー
は、設定した通り左ボタン押しで表示されるようになります

この状態の右ボタン(主ボタン)にMouseGestureL.ahkでコンテキストメニュー
を表示させることは可能ですが、恐ろしく使いにくくなります。



Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012

Gesture of starting wheel button

 

ホイールボタン始動のジェスチャー

 

When you define a gesture of starting wheel button
Expected behavior can be canceled.

If you prefer, such as instant scroll, the behavior of the original
If you do not define the gesture that you want to start at the wheel button it is good.

Failure occurs when you are defined as below.

 

 

ホイールボタン始動のジェスチャーを定義すると
本来の動作がキャンセルされます。
インスタントスクロールなど、本来の動作を優先する場合は
ホイールボタンで開始するジェスチャは定義しない方が良いです。
不用意に
[MB_]
G=MB_
Default=MG_Abort()
などを定義するより、何も定義しない方が、期待通りの応答になります。
ジェスチャの始動ボタンとしては
右ボタン、サイドボタンを推奨します。





[MB_]
G=MB_
Default=MG_Abort()

Rather, you do not define anything, a good result.
As the start button, the gestureI recommend the right button, the side buttons.
 

 

 

However, a wheel button drug may be needed by a specific application.
A wheel button drug is not not much easy operation on the structure of a mouse.
When it repeats repeatedly, it is operation in which a finger becomes painful.

Although we generally do not recommend you the gesture of wheel button starting,
when a wheel button drug is used abundantly, there are the following set points.

 

 

 

しかしながら、特定のアプリで中ボタンドラッグを必要とするときがあります。
中ボタンドラッグはマウスの構造上、あまり楽な操作ではありません。
何度も繰り返すと指が痛くなるような操作です。

一般的には中ボタン起動のジェスチャはお勧めしませんが、中ボタンドラッグ
を多用される場合は次のような設定があります。





[MB__]
G=MB__
Hoge=if(MG_Counter()){ 【TAB】;Operation at the time of the oddth execution 【TAB】MouseClick , MIDDLE, , , , , D【TAB】}else{【TAB】;Operation of the eventh instruction execution time【TAB】MouseClick , MIDDLE, , , , , U【TAB】}
Default=Send,{Mbutton}


TheFonz
  • Members
  • 54 posts
  • Last active: Nov 29 2016 11:48 PM
  • Joined: 01 May 2013

Just wondering how you can setup a rocker gesture to only work inside a Chrome window?

 

Cheers



Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012

Hello TheFonz
Thank you Questions
If you choose Chrome at Condition Definition
It is enabled only in Chrome.

[Chrome]
Exe = chrome.exe

I have described in detail in 3. 4. Condition definition of Help.

Then, the latest version of rewriting the Help you can get in the following URL.
【Download URL 】http://code.google.c.../mousegesturel/



TheFonz
  • Members
  • 54 posts
  • Last active: Nov 29 2016 11:48 PM
  • Joined: 01 May 2013

Hello TheFonz
Thank you Questions
If you choose Chrome at Condition Definition
It is enabled only in Chrome.

[Chrome]
Exe = chrome.exe

I have described in detail in 3. 4. Condition definition of Help.

Then, the latest version of rewriting the Help you can get in the following URL.
【Download URL 】http://code.google.c.../mousegesturel/

 

Thank you for the reply.

I should have rephrased my question, how do you setup Rocker Gestures?

 

Cheers



Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012

The rocker gestures that do is to define the behavior of a combination of button without moving the mouse?

Since the reaction is quick, I also use setting up many things.

However, in the case of this software, there are some problems that have to be careful.

hoge_ which pushes a button It performs also at the time of other gesture definitions from which hoge__ which pushes and releases a button moves a mouse as it is.

Setting is difficult to work starting with the left button.

And Behavior of back and forward from it would have been the preferred side button.

Even if it sees these notes from os, it is normal, and since there is no problem also in mousegestureL.ahk, solution only has devising a script. 

I was able to solve some of these problems, but the description because this can increase.

Please look at the place behind the help. See 3.14 , 5.2.7

This software is something that is easy to use in mouse remapping function of Autohotkey,To configure by various combinations of buttons, you need to understand the place of advanced use of help.It is very troublesome, but it is very convenient if you can achieve.

 

Further, the function of application because assigned to the wheels and the left and right buttons

Although it is sufficient for three-button mouse if use of the mouse gesture,More of a multi-button mouse is recommended for locker gesture.

 

 

 

ロッカージェスチャというのはマウスを動かさずに ボタンの組み合わせで動作を定義することですか?
反応が速いので私も色々設定して使っています。
ただ、このソフトの場合、いくつか気を付けなければならない問題があります。

ボタンを押す hoge_ ボタンを押して放す hoge__がそのままではマウスを動かす他のジェスチャー定義の時も実行される。

左ボタンから始まる動作は設定が困難です。

それから戻ると進むの動作がサイドボタンで優先されてしまう。

これらの注意点は、osから見ても正常で
また、mousegestureL.ahkにも問題点はないので
スクリプトを工夫するしかありません。

このような問題のいくつかは解決できたのですが、説明が長くなりますので
ヘルプの後ろの箇所を見てください。参照3.14 , 5.2.7

本ソフトはAutohotkeyのリマップ機能をマウスにおいて使いやすくしたものですが、
ボタンの色々な組み合わせによって設定を行うには、ヘルプの高度な使い方の所を理解する必要があります。
非常に面倒ですが、実現できればとても便利です。

 

また、アプリ本来の機能が左右のボタンとホイールには割り当てられているので
マウスジェスチャーの用途なら3ボタンマウスで十分ですが、
ロッカージェスチャには多ボタンマウスのほうがお勧めです。