Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Transparent Desktop Toolbar
#4
can i use captureend to get info about the target?

my steps so far with your example code.
can identify source window info from hwnd.

Function acc_drag_detect
Trigger $a 8 0 0 "CLIPBRDWNDCLASS"     Help - how to add the trigger to the macro
Code:
Copy      Help
function hwnd idObject idChild
str exe.getwinexe(hwnd)
;if exe = "qm"; end
str osdtext.format("Drag and drop detected from exe: %s" exe)
OnScreenDisplay osdtext -1 0 0 "" 0 0 8
rep
,1
,int tid=GetWindowThreadProcessId(hwnd 0); if(!tid) break
,GUITHREADINFO g.cbSize=sizeof(g)
,if(!GetGUIThreadInfo(tid &g)) break
,if(g.hwndCapture!hwnd) break


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)