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]