1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

Need imacro loop startup script where it stopped

Discussion in 'General Scripting Chat' started by dwpg002, Dec 10, 2010.

  1. dwpg002

    dwpg002 Senior Member

    Dec 29, 2008
    Likes Received:
    I need help from imacro experts. I need to run the macro loop where it gets stopped.
    I have records in csv file. When a loop stopped @ Line 50 due to slow network connection. If I restart the script the script need to start from line 51. If any have the code to do this process pls post
  2. hpv222

    hpv222 Power Member

    Feb 8, 2010
    Likes Received:
    here is the code: make a copy of the csv file. then delete the first 50 rows and let the Macro run ... problem solved, it will start from line one, which was your old line 51

    unless you have this happening to you all the time, then that's a different story
  3. likeskoolaid

    likeskoolaid Regular Member

    Dec 27, 2009
    Likes Received:
    that would work but it's a lot of work fixing it all the time.

    I would change your timeout to something really high like 200 seconds.

    Maybe add a !SET ERRORIGNORE YES in the code to prevent errors from stopping the flow, but if an error happens it will just skip over whatever it was supposed to take from that line in the .csv and move to the next one.

    Also go into your browser settings and try disabling javascript and see if the script works without it (not all websites use javascript for every process on the site but it still slows down every process having it enabled) also you can disable images and style sheets from loading which will speed up the process.