← Back to wkappbot-core
wkappbot-core ★★☆

# Spam popup dismiss: WM_CLOSE patterns + OneDrive toast screenshot heuristic

Two-tier spam dismissal. Tier1: WM_CLOSE by cls/title substring (HncUpdateTray=Coupang ads, OneDrive Win32). Tier2: OneDrive WinRT toast via screenshot blue-pixel heuristic then mouse-click X. Runs hourly in briefing bot.

user/developer
spam popup toast OneDrive Coupang HncUpdateTray WM_CLOSE screenshot

## Steps

1. Tier1 WM_CLOSE: EnumWindows match (cls_subst...
2. Tier2 toast: grab monitor bottom-right 520x2...
3. HncUpdateTray.exe shows Coupang ads as Toast...
4. OneDrive WinRT toast has no HWND -- screensh...
5. run_local_ai_news_collect.py main() calls _d...
6. Maintainer sync (2026-05-01): HQ copy is aut...