Array to Listview Autohotkey


arrays := % procIdList
StringTrimRight,arraycan,arrays,1 ;Cắt phần tử thừa bên phải
StringSplit, tachArray, arraycan, `n ;Tách phần tử bằng dấu xuống dòng
Loop, %tachArray0%
{
    this_array := tachArray%A_Index%
    ;MsgBox, Pid %A_Index% is %this_array%.
	LV_Add("",,this_array)	;Ghi vào listview
}