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

サイドボタンをマウスジェスチャーやロッカージェスチャーとして使うには、
前の記事を参考にして、戻るや進むを無効にした方が設定が楽です。

In order to use  side buttons as a mouse gesture or locker gesture,
it refers to the report of lower -- it is better to repeal back and forward

 

http://www.autohotke...e-6#entry543171



Pyonkichi
  • Validating
  • 8 posts
  • Last active: Nov 05 2016 12:50 AM
  • Joined: 10 Dec 2013

MouseGestureL.ahk Ver.1.19 has been released.

http://mousegesturel...GLahk119woh.zip

 

Thanks,

Pyonkichi



Pyonkichi
  • Validating
  • 8 posts
  • Last active: Nov 05 2016 12:50 AM
  • Joined: 10 Dec 2013
MouseGestureL.ahk Ver.1.20 has been released.
http://www.vector.co...l/fh626706.html  (Download starts automatically)
 
Changed:
  • Non-alphanumeric characters can also be used to target names.
  • Name of the targets and gestures are saved automatically without pushing "Update" button.
  • Added the auto-converting function between 4 and 8 direction mode for existing gestures.
  • Added the display function of gesture logs.
  • Added "Control Active Window as Target" to the action templates.
  • The items contained in the right pane of explorer can be detected by the MG_TreeListHitTest() even if it runs on the Windows 7 or later.
    MG_TreeListHitTest(1) behaves as detecting the items including text label.
    MG_TreeListHitTest(0) behaves as detecting only icons.
  • Changed the function name to MG Click() from MG_Send().
  • Added the option "Action Starting Position" to the "Move Cursor" of action templates.
  • Added a parameter to specify enable or disable the activation of minimized window to the MG_ActivatePrevWin().
    MG_ActivatePrevWin(0) behaves as not activating the minimized windows.
  • Improved the compatibility to targets of the MG_Scroll2().
  • A new entry is created when the duplicate settings of targets or gestures are imported from a clipboard.
  • Added the function opening an action script with text editor by double click on the action assignment list.
  • Improved the recognition process of gestures.
    It's a solution against the missing of a stroke recognition.
  • Changed the data format of the action script strings in MouseGestureL.ini.
    It's a solution against the problem that TABs are converted to the LFs even though not intended.
  • Fixed the problem that the control handle of dialog box items cannot be retrieved correctly in Windows 8.
  • Changed the size and designs of configuration dialog box.
Thanks,
Pyonkichi


nanashi361
  • Members
  • 1 posts
  • Last active: Mar 26 2014 03:30 PM
  • Joined: 20 Mar 2014

 Ver.1.19 で導入された「スタートアップへの登録」機能についてですが、この機能を利用して

作成されるタスクの設定でデフォルト値では問題が発生する箇所を発見しました。具体的には

以下の3点になります。

 

 

(1) [条件]→[コンピュータをAC電源で使用している場合のみ~]

→ ノートPCでバッテリ動作すると起動しない、もしくは停止してしまう

 

(2) [設定]→タスクを停止するまでの時間 = 3日間

→ 常時ログイン環境、スリープ運用で3日を超えると停止してしまう

(3) タスクプライオリティーが低い

→ 設定箇所はありませんが、既定のプライオリティーは「7」となっており、

 非常に低いため高負荷時(特にI/O処理)で問題が発生する可能性がある

http://msdn.microsof...5(v=vs.85).aspx

 

http://codepad.org/5priwNyw にあるような雛形を生成し、SCHTASKS.exe に /xml オプション

で引渡せばタスクプライオリティを含めたパラメータを指定できるという所まで調べています。

 

自分の環境では手動でタスクの設定を変更したため問題はないのですが、可能であれば

MouseGestureL.ahk の修正をお願いできればと思って投稿しました。

 

以上、よろしくお願いします。



Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
nanashi361さん
質問ありがとうございます。
この件について開発者に問い合わせました。
 
スタートアップ登録の機能を実装するにあたり、お問い合わせの
事象が発生することは把握しております。
使っていただくに当たり、質問文にあるような対応をおとりいただくことを想定しております。
また、この部分の修正の予定はありません。 :(


Pyonkichi
  • Validating
  • 8 posts
  • Last active: Nov 05 2016 12:50 AM
  • Joined: 10 Dec 2013
MouseGestureL.ahk Ver.1.30 has been released.
http://www.vector.co...l/fh633547.html  (Download starts automatically)
 
  mgl_config_e.jpg
 

  Changed:

  • Ex-action tab has become the main tab.
  • Added the icon display of target lists.
  • Supports the hierarchical target management.
  • Added the context menu of target, gesture and action list.
  • Switch to the corresponding tab by double-clicking the target or gesture list.
  • Added following shortcut keys.
    Ctrl+Num  : Switch to the corresponding tab. (1:Main, 2:Target, 3:Gesture, ・・・)
    Ctrl+G    : Show gesture list menu assigned to the selected target.
    Ctrl+Down : Select next gesture assigned to the selected target.
    Ctrl+Up   : Select previous gesture assigned to the selected target.
    Ctrl+E    : Edit the action script with text editor.
    Ctrl+F    : Show or hide the sub targets.
    F1        : Show Help
    * The other shortcut keys appear in the context menu.
  • Added the built-in variable "A_ProgramFilesX86".
  • MG_User.ahk has been included to MG_Edit.ahk.
  • Size of the lists of configuration dialog can be changed by setting the following variables in MG_User.ahk.
    ME_ListH   := 460   ; Height of Lists
    ME_TListW1 := 180   ; [P.1] Width  of Target List
    ME_GListW1 := 150   ; [P.1] Width  of Gesture List
    ME_AListW  := 300   ; [P.1] Width  of Action List
    ME_AListH  := 215   ; [P.1] Height of Action List
    ME_AListR  := 50    ; [P.1] Ratio  of Target Column Width of Action List (%)
    ME_TListW2 := 200   ; [P.2] Width  of Target List
    ME_GListW2 := 200   ; [P.3] Width  of Gesture List
    ME_ListPad := 8     ; Padding
Thanks,
Pyonkichi


774
  • Members
  • 3 posts
  • Last active:
  • Joined: 25 Sep 2014

Hello, Shirubadappuru.

It may not be able to communicate well because machine translation.
I leave to apologize first.

From the Windows Update per July, I'm in trouble trouble out in MousegestureL.
If you right-click, cursor've got locks up almost.
The cause is believed to be the driver of Windows7x64 + Wacom pen tablet made​​.
OS might be elsewhere.
There are reports of Intuos2,3,4.

I think even if they do not have a product, and can be reproduced if you install the drivers from the Wacom these.

I hope you find it to fix when there is time.



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

Hello, Shirubadappuru.

It may not be able to communicate well because machine translation.
I leave to apologize first.

From the Windows Update per July, I'm in trouble trouble out in MousegestureL.
If you right-click, cursor've got locks up almost.
The cause is believed to be the driver of Windows7x64 + Wacom pen tablet made​​.
OS might be elsewhere.
There are reports of Intuos2,3,4.

I think even if they do not have a product, and can be reproduced if you install the drivers from the Wacom these.

I hope you find it to fix when there is time.

こんにちは
質問ありがとうございます。
特定の機器でうまく認識しないのは
Autohotkeyの前処理でうまく認識できていない状態だと思います。
タスクトレイアイコン右クリック
→Autohotkey→Open→View→Key history
でKey historyを表示させながら操作してみてください。
表示の更新はF5です。
この中で,正常に動く操作と,不具合の出る操作を
見比べて,明らかに信号を認識していない場合
Autohotkeyの前処理が出来ない状態です。
この場合,mousegesturel.ahkでは解決できません。
Key historyに異常がない場合mousegesturel.ahkで
解決できるかもしれませんので,その時はもう一度ご連絡くだされば
対応致します。
スッキリした回答ができなくてごめんなさい。
 
Hello 
Thank you for the question. 
What is not well recognized in the equipment of a particular 
I think it's a state that is not able to recognize well in the pre-processing of Autohotkey. 
The task tray icon right-click 
→ Autohotkey → Open → View → Key history 
At Please try to operation while displaying the Key history. 
Update of the display is F5. 
In this, the operations and move normally, the operations that get out of trouble 
If you compare, it does not recognize the signal clearly 
It is a state that can not be pre-processing of Autohotkey. 
In this case, and can not be resolved through mousegesturel.ahk. 
In the case mousegesturel.ahk there is no abnormality in Key history 
Since might be solved, if Kudasare contact again at that time 
I correspond. 
I'm sorry if you can not have a clear answer.


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

This post is l should be deleted because of duplication.



Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
加速スクロールの設定例 Setting example of accelerated 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.
 
 
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.
 
 
サイドボタンを押したままホイールを少し回転してください。
サイドボタンを押している間,スクロールが繰り返されます。
サイドボタンを押したままホイールを逆に回転すると方向が切り替わります。
 
 
アクティブウィンドウでは無く,カーソル下のウィンドウがスクロールされます。
マウスのオートスクロール機能との併用を想定しています。
 
 
 
 
【1】It copies to the user definition subroutine of an extended script.
【1】拡張スクリプトのユーザー定義サブルーチンにコピー
 
;-------------------------------------
;↓↓↓アクセルスクロール回数決定 サブルーチンAccelerator scroll number determination subroutine
Siru_AScroll_N:
A_TimeIdlePhysical_Sec:=A_TimeIdlePhysical/1000
StringLeft,ATSec,A_TimeIdlePhysical_Sec,2
Sasn:=(1+ATSec*4)       ;Acceleration of the vertical scroll
SasnH:=(1+ATSec*1)    ;Acceleration of the horizontal scroll
return
;↑↑↑アクセルスクロール回数決定 サブルーチンAccelerator scroll number determination subroutine
;-------------------------------------
;↓↓↓アクセルスクロール方向決定 サブルーチンAccelerator scroll direction determination subroutine ↓↓↓
Siru_AScroll_Up:
StringRight, Siru_CheckU,A_PriorHotkey, 4
if(Siru_CheckU!="Down"){
	Func("MG_SendWheel").("U",Sasn)
}else{
if(Siru_CheckU!="elUp"){
	Func("MG_SendWheel").("D",Sasn)
	}
}
return
Siru_AScroll_Dn:
StringRight, Siru_CheckD,A_PriorHotkey, 4
if(Siru_CheckD!="elUp"){
	Func("MG_SendWheel").("D",Sasn)
}else{
if(Siru_CheckD!="Down"){
	Func("MG_SendWheel").("U",Sasn)
	}
}
return
;↑↑↑アクセルスクロール方向決定 サブルーチンAccelerator scroll direction determination subroutine↑↑↑
;-------------------------------------
;↓↓↓Defaultスクロール方向決定 サブルーチン Accelerated scrolling direction determination subroutine of default↓↓↓
Siru_DScroll_Up:
StringRight, Siru_CheckU,A_PriorHotkey, 4
if(Siru_CheckU!="Down"){
Send,{WheelUp %Sasn%}
}else{
if(Siru_CheckU!="elUp"){
Send,{WheelDown %Sasn%}
}
}
return

Siru_DScroll_Dn:
StringRight, Siru_CheckD,A_PriorHotkey, 4
if(Siru_CheckD!="elUp"){
Send,{WheelDown %Sasn%}
}else{
if(Siru_CheckD!="Down"){
Send,{WheelUp %Sasn%}
}
}
return
;↑↑↑Defaultスクロール方向決定 サブルーチン Accelerated scrolling direction determination subroutine of default↑↑↑
;-------------------------------------
;↓↓↓横アクセルスクロール方向決定 サブルーチン Horizontal accelerator scroll direction determination subroutine↓↓↓

Siru_AH_Up:
StringRight, Siru_CheckU,A_PriorHotkey, 4
if(Siru_CheckU!="Down"){
Loop,%SasnH%{
Func("MG_Scroll2").("H", -1)
}
}else{
if(Siru_CheckU!="elUp"){
Loop,%SasnH%{
Func("MG_Scroll2").("H", 1)
}
}
}
return

Siru_AH_Dn:
StringRight, Siru_CheckD,A_PriorHotkey, 4
if(Siru_CheckD!="elUp"){
Loop,%SasnH%{
Func("MG_Scroll2").("H", 1)
}
}else{
if(Siru_CheckD!="Down"){
Loop,%SasnH%{
Func("MG_Scroll2").("H", -1)
}
}
}
return


;↑↑↑横アクセルスクロール方向決定 サブルーチン Horizontal accelerator scroll direction determination subroutine↑↑↑
;-------------------------------------
 
 
 
 
;----------------------------------------------------------------------------------
 
 
【2】Please assign actions

【2】アクションを割り当てて下さい


[↑↑]
G=X1B_WU_
Excel=
   if(MG_While(50)){
   Gosub,Siru_AScroll_N
  Gosub,Siru_AScroll_Up
 }
Default=
if(MG_While(80)){
    Gosub,Siru_AScroll_N
    Gosub,Siru_DScroll_Up 
  }



[↓↓]
G=X1B_WD_
Excel=
if(MG_While(50)){
  Gosub,Siru_AScroll_N
  Gosub,Siru_AScroll_Dn
   }
Default=
if(MG_While(80)){
    Gosub,Siru_AScroll_N
    Gosub,Siru_DScroll_Dn
}





Try the app response
if (MG_While (50)) {
Please adjust the numbers.



アプリの応答を試してみて
if(MG_While(50)){
の数字は調整してください。


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

This post is l should be deleted because of duplication.



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

 

This post is l should be deleted because of duplication.



774
  • Members
  • 3 posts
  • Last active:
  • Joined: 25 Sep 2014

 

こんにちは
質問ありがとうございます。
特定の機器でうまく認識しないのは
Autohotkeyの前処理でうまく認識できていない状態だと思います。
タスクトレイアイコン右クリック
→Autohotkey→Open→View→Key history
でKey historyを表示させながら操作してみてください。
表示の更新はF5です。
この中で,正常に動く操作と,不具合の出る操作を
見比べて,明らかに信号を認識していない場合
Autohotkeyの前処理が出来ない状態です。
この場合,mousegesturel.ahkでは解決できません。
Key historyに異常がない場合mousegesturel.ahkで
解決できるかもしれませんので,その時はもう一度ご連絡くだされば
対応致します。
スッキリした回答ができなくてごめんなさい。
 
Hello 
Thank you for the question. 
What is not well recognized in the equipment of a particular 
I think it's a state that is not able to recognize well in the pre-processing of Autohotkey. 
The task tray icon right-click 
→ Autohotkey → Open → View → Key history 
At Please try to operation while displaying the Key history. 
Update of the display is F5. 
In this, the operations and move normally, the operations that get out of trouble 
If you compare, it does not recognize the signal clearly 
It is a state that can not be pre-processing of Autohotkey. 
In this case, and can not be resolved through mousegesturel.ahk. 
In the case mousegesturel.ahk there is no abnormality in Key history 
Since might be solved, if Kudasare contact again at that time 
I correspond. 
I'm sorry if you can not have a clear answer.

 

こんばんは。お返事ありがとうございます。日本語で投稿させていただきますね。

Wacomのドライバは

ttp://tablet.wacom.co.jp/download/download_detail.html?drv_c=396

こちらをインストールしました。

右クリック後のログはこちらになります。

 

02  000    h    u    0.01    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.02    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.02    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.01    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.02    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.01    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.02    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.02    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.01    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.02    RButton            
02  000    h    d    0.00    RButton          

 

このログで大丈夫でしょうか?

別に連打したわけではありません。

一応信号はあるということでしょうか?

それではよろしくお願いします。



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

こんばんは。お返事ありがとうございます。日本語で投稿させていただきますね。

Wacomのドライバは

ttp://tablet.wacom.co.jp/download/download_detail.html?drv_c=396

こちらをインストールしました。

右クリック後のログはこちらになります。

 

02  000    h    u    0.01    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.02    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.02    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.01    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.02    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.01    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.02    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.02    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.01    RButton            
02  000    h    d    0.00    RButton            
02  000    h    u    0.02    RButton            
02  000    h    d    0.00    RButton          

 

このログで大丈夫でしょうか?

別に連打したわけではありません。

一応信号はあるということでしょうか?

それではよろしくお願いします。

こんにちは。
 
報告有り難うございました。
記録を見せていただくと 0.16秒間に右ボタンのクリックを10回程
繰り返す信号が出ています。
初めに申し上げておきますが,この状態で
mousegesturel.ahkで右ボタン関連の登録は困難です。
 
例えば
[右→]
G=RB_R_
のようなジェスチャを登録し,この状態でアクションを
起こした時,RB_R_を認識したすぐ後に連続して次の
RB_R_が入るため,RB_R_が多数実行されてしまいます。
回避策として
ヘルプの4.5.6. にあるホットキーの上限を設定して
2回め以降のジェスチャーを無効にするとうまく動作するかもしれません。
# HotkeyInterval 2000                ;;時間の長さをミリ秒で指定  
# MaxHotkeysPerInterval 2  ;;ホットキーの実行数の上限を指定
;;2秒間に2回
このままでは警告メッセージが出るので更に設定が必要になります。
ただ,仮に右クリックがこの設定で動作するようになったとしても
mousegesturel.ahkすべての設定に,この制限がかかってしまい
解決策とは言えません。
以上の事から,お問い合わせの環境で右クリック関連のマウスジェスチャー
の設定の解決策を提示することは出来ません。
 
Thank you reported. 
Signal is repeated about 10 times the click of the right button in 0.16 seconds has come out to look at the record. 
Leave I would like at the beginning, but the registration of the right button related is difficult mousegesturel.ahk in this state.
 
For example, 
[Right →] 
G = RB_R_ 
When you register a gesture like, it was take action in this state, for RB_R_ next enters in succession immediately after it is recognized RB_R_, RB_R_ will result in the execution number.
As a workaround, you can set the upper limit of the hot keys on the 4.5.6. Help 
It might also work well if you disable gesture of second and subsequent.
                # HotkeyInterval 2000
                # MaxHotkeysPerInterval 2
                ;;Means 2 times in 2 seconds 
You will need additional configuration warning message will be appeared in this state. 
However, this is not a solution to the set of all mousegesturel.ahk, this restriction would take right-click even if adapted to operate in this setting, if at all.
 
From the above, mouse gestures, right-click in the environment-related inquiry 
It is not possible to present a solution to the settings.


Shirubadappuru
  • Members
  • 94 posts
  • Last active: Oct 02 2014 10:33 AM
  • Joined: 21 Feb 2012
大変失礼しました。
作者のホームページに対応版が発表されました。
 
I was very rude. 
Compatible version has been announced on the homepage of the author.