Code: Select all
FileRead, cnt, counter.txt
...
For i in url {
if ( A_Index < cnt ){
msgbox % A_Index
itemlist .= "Item " A_Index " is: " url[i] "`n"
}
}
...
msgbox % itemlist
where is problem ?
why condition if ( A_Index < cnt ) is not working ?
maybe there are var type error ?