Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mouse Macro HELP
#2
The macro could have mouse left button trigger and this text:

Code:
Copy      Help
1.353
int w=child(mouse); if(!w) w=win(mouse); if(!w) ret
POINT p; xm p w 1
int xy=p.y<<16|p.x
SendMessage w WM_LBUTTONDOWN 1 xy
SendMessage w WM_LBUTTONUP 0 xy


Here SendMessage is used instead of lef to avoid generating double click.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)