AutoIT: 通过页面抓取来陈列任务管理器里面所有进程的列表
#include<Array.au3> $handle =WinGetHandle("Windows 任务管理器") ;$ctrl =ControlGetHandle($handle,"","SysListView321") dim $count =ControlListView($handle,"","SysListView321","GetItemCount") MsgBox(0,"Test",$count) dim $i dim $array1[2] = [0, 4] dim $array2[$count][2] for $i =0 to $count-1 $array2[$i][0]=ControlListView($handle,"","SysListView321","GetText",$i,0) $array2[$i][1]=ControlListView($handle,"","SysListView321","GetText",$i,4) Next _ArrayDisplay($array2)