Code: Select all
Loop, Read, List.csv
{
StringSplit, item, A_LoopReadLine, `,, `r`n
If ( item1 = 12345 )
Break
}
var1=%item2%
var2=%item3%
var3=%item4%
How do I make it so if the search number isn't in the csv file the variables stay blank and a msgBox that says "search not found"?
Thank you for your help.