I have a file, database.txt, that looks like:
123456789;avi1.avi
987654321;avi2.avi
456789123;avi3.avi
The numbers represent a barcode and the avi is a video of the product in use. My script counts the number of lines in the database.txt file at the start of the program. The number of lines in the database.txt changes when there are new videos added to the file. I want to count the lines in the txt file and then play each video randomly but at least once per loop. I then want the list randomized again (not the same as last time) and continue playing the videos in a new order. How can I get autoit to do this?