|Hello Mechanix2Go. First thanks for your help but I think I confused you with the variable. I'm not using exactly the url1-url42.|
I got some code here:
for /f "tokens=* delims= " %%G in (urls.txt) do "C:\Program Files (x86)\iOpus\iMacros\iMacros.exe" -macro "screenshot.iim" -var_variable %%G
here's the exact content of urls.txt
My problem with this code is that it doesn't stop until it reaches the end of file. There's another command that needs to be executed for each variable filled in. That command will have an interval of 4 hours.
for the first run, I will have the page "mypartner", execute the next command (will have 4 hours delayed), then go to the next variable which is "offercode" and so on...
Thank you again.