Cannot find example how to locate taskbar icon coordinates or position by window handle.
I want to use PixelChecksum to check only rectangle area over specified taskbar item.
Please help.
What I already have found and succesfully run for whole taskbar area:
$taskbar = WinGetHandle("[Class:Shell_TrayWnd]")
$taskbarPos = WinGetPos($taskbar)
$tasklistPos = ControlGetPos($taskbar, "", "[CLASS:MSTaskListWClass; INSTANCE:1]")
$iOldCheckSum = PixelChecksum($taskbarPos[0] + $tasklistPos[0], $taskbarPos[1] + $tasklistPos[1], $taskbarPos[0] + $tasklistPos[2], $taskbarPos[1] + $tasklistPos[3]);
I know also that I can pass window handle as parameter to PixelChecksum, but don't know how to do this with taskbar icon.
Also I was able to find something similar but seems outdated: WatchWindows
__
thanks in advance