Continue execute csv list after loop

Discussions and Tech Support related to automating the iMacros Browser or Internet Explorer from any scripting and programming language, such as VBS (WSH), VBA, VB, Perl, Delphi, C# or C++.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
vanmoll
Posts: 1
Joined: Wed Apr 05, 2017 3:35 am

Continue execute csv list after loop

Post by vanmoll » Wed Apr 05, 2017 4:44 am

Kinda confuse making the title :oops:

This code when executed, visit some url from url.csv
On 1 execution I go for 20 loop, so it will access the website from line 1 to 20

My question is how to continue the process in 2 hours later(7200 second) and continue the previous visited website? So it must visit line 21 to 40.

Thank you
Van

Code: Select all

VERSION BUILD=8970419 RECORDER=FX
SET !VAR1 EVAL("var randomNumber=Math.floor(Math.random()*22 + 21); randomNumber;")
SET !VAR2 EVAL("var randomNumber=Math.floor(Math.random()*6 + 3); randomNumber;")
SET !DATASOURCE G:\Sample\url.csv
SET !DATASOURCE_LINE {{!LOOP}}
SET !ERRORIGNORE YES
SET !TIMEOUT_STEP 2
TAB T=1
URL GOTO={{!COL1}}
TAG POS=1 TYPE=BUTTON ATTR=TXT:Follow
wait seconds={{!VAR2}}
TAG POS=1 TYPE=DIV ATTR=CLASS:_22yr2
TAG POS=1 TYPE=SPAN ATTR=TXT:Like
TAG POS=1 TYPE=A ATTR=TXT:Next
wait seconds={{!VAR2}}
TAG POS=1 TYPE=SPAN ATTR=TXT:Like
TAG POS=1 TYPE=A ATTR=TXT:Next
wait seconds={{!VAR2}}
TAG POS=1 TYPE=SPAN ATTR=TXT:Like
TAG POS=1 TYPE=A ATTR=TXT:Next
wait seconds={{!VAR2}}
TAG POS=1 TYPE=SPAN ATTR=TXT:Like
wait seconds={{!VAR2}}
TAG POS=1 TYPE=BUTTON ATTR=TXT:Close
wait seconds={{!VAR1}}
Post Reply