oh
, then i think i can't do this.. i thought that the hWnd was always the same for an app, for example, my script opens the windows media player, or performs a scan with norton antivirus, so i thought that if i found out what's their hWnd, i could always kill those apps...
but now, as you say, the hWnd is different every-time they run, then is far more complicated than i thought