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

iMacros length exceeded

Discussion in 'Other Scripting Languages' started by ha4x0r, Apr 29, 2017.

  1. ha4x0r

    ha4x0r BANNED BANNED

    Joined:
    Aug 23, 2014
    Messages:
    113
    Likes Received:
    10
    I keep getting this iMacros popup

    "Macro length exceeds 2500 lines, this might take too long to load.

    Would you like to proceed?

    Note: You can disable this warning message by increasing the "extensions.imacros.maxMacroLength" parameter."

    I use Firefox and I clicked OK to processed playing the script however I keep getting the popup message and it won't play. Tried going to about:config to disable the warning however I can't find "extensions.imacros.maxMacrolength"
    Can anyone help me with this? Will highly be appreciated!
     
  2. AryabhattZero

    AryabhattZero Power Member

    Joined:
    Jul 28, 2015
    Messages:
    762
    Likes Received:
    298
    spit it in two files and then load them one after the another with js file
     
  3. ha4x0r

    ha4x0r BANNED BANNED

    Joined:
    Aug 23, 2014
    Messages:
    113
    Likes Received:
    10
    Is there no other possible way? Because I am not sure how to do that
     
  4. AryabhattZero

    AryabhattZero Power Member

    Joined:
    Jul 28, 2015
    Messages:
    762
    Likes Received:
    298
    never had a 2500 lines of code in one file, so idk any other possible way
     
  5. SpoonFeeder

    SpoonFeeder Senior Member

    Joined:
    Mar 19, 2017
    Messages:
    998
    Likes Received:
    783
    Gender:
    Male
    Occupation:
    SpoonFeeding & Babysitting the Noobs.
    Location:
    Click the link below if you're new to BHW!
    Home Page:
    Goto about:config
    Right click -> New -> Integer
    Enter "extensions.imacros.maxMacrolength" as preference name
    Press enter
    Type 5000 or whatever length you want it to be.
    Press Enter.
    Restart firefox
    iMacros shouldn't throw that popup anymore.
     
  6. ha4x0r

    ha4x0r BANNED BANNED

    Joined:
    Aug 23, 2014
    Messages:
    113
    Likes Received:
    10
    I just did that, same problem I keep getting it. :(
     
  7. SpoonFeeder

    SpoonFeeder Senior Member

    Joined:
    Mar 19, 2017
    Messages:
    998
    Likes Received:
    783
    Gender:
    Male
    Occupation:
    SpoonFeeding & Babysitting the Noobs.
    Location:
    Click the link below if you're new to BHW!
    Home Page:
    What's the length of your script?

    Are you copy-pasting the same set of actions in order to repeat the process? If that is the case, you should better use the loop option aka Repeat Macro.
     
  8. ha4x0r

    ha4x0r BANNED BANNED

    Joined:
    Aug 23, 2014
    Messages:
    113
    Likes Received:
    10
    3062 Lines, it isn't the same actions each line of code differs.
     
  9. ha4x0r

    ha4x0r BANNED BANNED

    Joined:
    Aug 23, 2014
    Messages:
    113
    Likes Received:
    10
    Thanks everyone, figured out a way.
     
  10. Vic Sage

    Vic Sage Jr. VIP Jr. VIP

    Joined:
    Sep 5, 2010
    Messages:
    1,787
    Likes Received:
    2,174
    Gender:
    Male
    Occupation:
    Franklin Hattchet Method
    Location:
    Franklin Hattchet Method
    Home Page:
    Not sure why, but your avatar makes me uncomfortable.
     
  11. littlewebdragon

    littlewebdragon Jr. VIP Jr. VIP

    Joined:
    Dec 30, 2007
    Messages:
    1,708
    Likes Received:
    1,040
    Occupation:
    Occupation
    Location:
    Location
    Would you mind sharing so others would know as well?
     
  12. ha4x0r

    ha4x0r BANNED BANNED

    Joined:
    Aug 23, 2014
    Messages:
    113
    Likes Received:
    10
    Had an outdated version of iMacros, updated it and then proceeded to do this.
    Also my own modified portable version of Firefox was causing a problem.

     
    • Thanks Thanks x 1
  13. littlewebdragon

    littlewebdragon Jr. VIP Jr. VIP

    Joined:
    Dec 30, 2007
    Messages:
    1,708
    Likes Received:
    1,040
    Occupation:
    Occupation
    Location:
    Location
    Thank you ;)
     
  14. SpoonFeeder

    SpoonFeeder Senior Member

    Joined:
    Mar 19, 2017
    Messages:
    998
    Likes Received:
    783
    Gender:
    Male
    Occupation:
    SpoonFeeding & Babysitting the Noobs.
    Location:
    Click the link below if you're new to BHW!
    Home Page:
    I'm glad my Spoon worked for you. :)