Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trigger macro for controls on a window
#5
Better in other thread. It could have the same window trigger as the toolbar.

Function detect_mouse_clicks_in_window_58736
Trigger !a"- WordPad" "WordPadClass"     Help - how to add the trigger to the macro
Code:
Copy      Help
int hwnd=TriggerWindow

rep
,wait 0 ML
,if(!IsWindow(hwnd)) ret
,if(win!hwnd) continue
,Acc a.FromMouse; err continue
,str name=a.Name; err continue
,out name
,


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)