Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Right mouse down and release problem
#5
Apparently the issue was something else entirely , but still related to QM . That being said , its probably software's fault not QM.
Software which im trying to use QM on stops responding when i use *any* QM macro , until* i move mouse , then it comes back .
Weird .

But that same software didnt stop responding when i used autohotkey macro and everything was fine.

This is the macro i used on autohotkey.
Code:
Copy      Help
#SingleInstance, force
#IfWinActive ahk_class GxWindowClass

RButton::
BlockInput, MouseMove
MouseGetPos, curx, cury
MouseClick, right,,, 1, 0, D  ; Hold down the left mouse button.


;MouseMove, 897, 518 ,0
sleep, 5
Blockinput, MouseMoveOff


KeyWait, RButton  ; Wait for the key to be released.

BlockInput, MouseMove
MouseGetPos, newx, newy



sleep, 5

//MouseMove, curx, cury , 0


MouseClick, right,,, 1, 0, U  ; Release the mouse button.
Blockinput, MouseMoveOff


if(newx != curx && newy != cury)
{
;MouseMove, curx, cury , 0
}

return




LButton::
BlockInput, MouseMove
MouseGetPos, curx, cury
MouseClick, left,,, 1, 0, D  ; Hold down the left mouse button.


;MouseMove, 897, 518 ,0
sleep, 5
Blockinput, MouseMoveOff


KeyWait, LButton  ; Wait for the key to be released.

BlockInput, MouseMove
MouseGetPos, newx, newy



sleep, 5

;MouseMove, curx, cury , 0


MouseClick, left,,, 1, 0, U  ; Release the mouse button.
Blockinput, MouseMoveOff


if(newx != curx && newy != cury)
{
;MouseMove, curx, cury , 0
}

return

Its not perfect but still needs some polishing .


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)