ex: if i checked line2 & line4 then by clickin on "Show selected items" i'll get it this way:
"line2" "line4"
thanks in advance
Code: Select all
List := "line1|line2|line3|line4|line5"
Gui Add, ListView, Checked -Hdr, FileFullPath
For each, file in % StrSplit(RTrim(List, "|"), "|")
LV_Add(, file)
Gui, Add, Button, gButoon1, Show selected items
Gui Show
return
Butoon1:
LV_GetText(file,())
MsgBox % file ; not working :(