Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Blocking Mouse Clicks but not Mouse Movement
#2
To eat only a certain mouse button but not movement:

1. Make sure you can disable QM using a hotkey. Default hotkey is Ctrl+Alt+Shift+D.
2. Create an empty function and assign this (new) filter function:

Code:
Copy      Help
;/
function# iid FILTER&f

int+ g_eatclick
if(g_eatclick) ret -1 ;;eat

3. Create function ResetEatClick:

Code:
Copy      Help
int+ g_eatclick
g_eatclick=0

4. In the macro, insert this at the beginning:

Code:
Copy      Help
int+ g_eatclick
atend ResetEatClick

5. Set g_eatclick to 1 when the mouse button must be blocked. Set it to 0 to unblock. Example:

Code:
Copy      Help
g_eatclick=1
wait 10
g_eatclick=0


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)