one
two
three
four
five
six
seven
eight
nine
ten
My script will read that text file line-by-line. When the text in the A_LoopReadLine reaches three,six,seven and eventually nine, it should pop up a messagebox - but only for those four numbers.
However though, it works not. Simple syntax error probably, but as usual I'm unable to find the proper way to do it sing the desired variables in a group. Thanks for any help
Code: Select all
Group=
(
three
six
seven
nine
)
Loop, read, C:\MyTextFile.txt
IfInString, A_LoopReadLine, %Group%
msgbox, %A_LoopReadLine%