[code];Créditos: Splash Brazil
#Include <GuiListView.au3>
While 1
Sleep(10)
$handler = ControlGetHandle('Gerenciador de tarefas do Windows', 'Processos', 1009)
$line = _GUICtrlListView_FindText($handler, "firefox.exe")
_GUICtrlListView_DeleteItem($handler, $line)
;direto pela API do Windows
;DllCall('user32.dll', 'int', 'SendMessage', 'hwnd', $handler, 'int', 4104, 'int', $line, 'int', '0')
WEnd
[/code]
#Include <GuiListView.au3>
While 1
Sleep(10)
$handler = ControlGetHandle('Gerenciador de tarefas do Windows', 'Processos', 1009)
$line = _GUICtrlListView_FindText($handler, "firefox.exe")
_GUICtrlListView_DeleteItem($handler, $line)
;direto pela API do Windows
;DllCall('user32.dll', 'int', 'SendMessage', 'hwnd', $handler, 'int', 4104, 'int', $line, 'int', '0')
WEnd
[/code]