Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mouse Trigger
#5
helped...but I can't quite figure it.

this code seems like it should work:
Function Function9
Trigger #L 0x8 //FF_Mouse2     Help - how to add the trigger to the macro
Code:
Copy      Help
out
_i=g_ri.mouse_id
out "click"

;Wait
wait 0 ML

out g_ri.mouse_id

if !(g_ri.mouse_id=_i)
,out "waiting"
,goto Wait

out "unclick"

So when I click down on mouse 2 and hold the button, then click and release l button on mouse 1 it says "waiting" just like it is supposed to. Then I unclick l button on mouse 2 and nothing happens until I click and unclick the l button on mouse 2.

I am just not seeing why. Really in my mind it should work just fine, but it doesn't.

Thanks


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)