1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

javascript loop imacros?

Discussion in 'General Scripting Chat' started by Masterptc, Oct 2, 2014.

  1. Masterptc

    Masterptc Regular Member

    Joined:
    Aug 9, 2011
    Messages:
    413
    Likes Received:
    600
    Home Page:
    Im trying to loop 4 imacros scripts with javascript 5 times. What am i doing wrong, it is only looping imacros 2 and 4 and ignoring the others.

    Code:
    for (i=0;i<=5;i++){
    iimPlay("Other stuff/Shipping-Input.iim");
    iimPlay("Other stuff/Shipping-Input2.iim");
    iimPlay("Other stuff/Shipping-Input3.iim");
    iimPlay("Other stuff/Shipping-Input4.iim");
    }
     
  2. ricardo78

    ricardo78 Registered Member

    Joined:
    Jun 25, 2014
    Messages:
    94
    Likes Received:
    16
    check if the files are really in place
    check if there is no syntax errors in them
    try to start them with some delay between each other
     
  3. member8200

    member8200 Regular Member

    Joined:
    Aug 9, 2014
    Messages:
    469
    Likes Received:
    33
    Please check the file location if it really exist. maybe that causes the problem.