Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trigger - if mouse button held for certain period of time?
#2
Assign new filter function:

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

int+ g_mousembtime=GetTickCount
ret iid

In the macro, insert this at the beginning:

Code:
Copy      Help
int+ g_mousembtime
if(GetTickCount-g_mousembtime<500) ret

Here 500 is number of milliseconds from button down to up.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)