Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find color
#8
Macro
Code:
Copy      Help
int h=win("Notepad")
FlashWindow(h 1)
1
Acc a=acc("Untitled - Notepad" "PUSHBUTTON" win("" "Shell_TrayWnd") "ToolbarWindow32" "" 0x1001)
int c=0x1179c3
if(!a.FindColor(c)) ret
out "found"

This works here. But it stops working when I open another window and the button is moved to the left. Because desktop color in that place is different.

Don't know other ways how to detect flashing windows.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)