Hi!
Very often i see messages e.g. "I kill program from task manager, but icon of this program still showed in system tray. How can clear taskbar from icons of killed app.`s?" And i have written this script:
#include <WinAPI.au3>
$hTaskBar = _WinAPI_FindWindow("Shell_TrayWnd", "")
$hParent = ControlGetHandle($hTaskBar, "", "TrayNotifyWnd1")
$hWnd = ControlGetHandle($hParent, "", "ToolbarWindow321")
$WinRect = _WinAPI_GetWindowRect($hWnd)
$aMousePos = MouseGetPos()
$Left = Dll