- Mar 22, 2013
- 9,144
- 10,489
Let's say I made an iMacro and I have a csv file with 5 tabs. From 1-5.
So I have these:
SET !DATASOURCE C:\Users\Maluri\Documents\iMacros\Datasources\SoundCloud<SP>Spamming\Script2.csv
SET !DATASOURCE_COLUMNS 1
SET !DATASOURCE_LINE {{!LOOP}}
Now, if I set the iMacro to loop 10 times, I expect it to play the script go through the 5 tabs in the csv, and then on loop 6 start from the beginning and do the 5 tabs again.
But for some reason, after it does the first 5, on the 6th one it just enters a blank space. It won't loop the datasource and start from the beginning.
I googled and tried to find a solution, and someone said on the iMacros forum back in 2014 that it's not possible and you should insert as many lines as you need in the csv file. So if I wanna do 30 loops, I should insert 30 tabs in the csv file, and then do loops when I play the script and the script will go 1-30.
Yeah, that would work, but give me a break, there has to be a way to loop the datasource so that it just starts from the beginning once it exhausts all the tabs in the csv.
Any help?
So I have these:
SET !DATASOURCE C:\Users\Maluri\Documents\iMacros\Datasources\SoundCloud<SP>Spamming\Script2.csv
SET !DATASOURCE_COLUMNS 1
SET !DATASOURCE_LINE {{!LOOP}}
Now, if I set the iMacro to loop 10 times, I expect it to play the script go through the 5 tabs in the csv, and then on loop 6 start from the beginning and do the 5 tabs again.
But for some reason, after it does the first 5, on the 6th one it just enters a blank space. It won't loop the datasource and start from the beginning.
I googled and tried to find a solution, and someone said on the iMacros forum back in 2014 that it's not possible and you should insert as many lines as you need in the csv file. So if I wanna do 30 loops, I should insert 30 tabs in the csv file, and then do loops when I play the script and the script will go 1-30.
Yeah, that would work, but give me a break, there has to be a way to loop the datasource so that it just starts from the beginning once it exhausts all the tabs in the csv.
Any help?