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

[HELP] Can anyone help me fix this tiny macro?

Discussion in 'Social Networking Sites' started by SquatsDidThis, Dec 10, 2013.

  1. SquatsDidThis

    SquatsDidThis Newbie

    Joined:
    Mar 28, 2013
    Messages:
    43
    Likes Received:
    16
    Occupation:
    Business Owner & Startup Founder
    Location:
    Virtually Everywhere
    Hey guys,

    I have this tiny Twitter macro here, but how can I make it skip the first follow? The first follow being the person whose account's followers you're about to follow, because the current state of the code will end up unfollowing the first person before following the others below him/her. As you can imagine, that must be extremely annoying for them if you do it every 2 days or so...

    Code:
    SET !ERRORIGNORE YES
    SET !LOOP 1
    TAG POS={{!LOOP}} TYPE=BUTTON ATTR=TYPE:button&&CLASS:js-follow-btn<SP>follow-button<SP>btn&&TXT:Follow<SP>Following<SP>Unfollow<SP>Blocked<SP>Unblock<SP>Pen*
    WAIT SECONDS=0
    Any advice?
     
    Last edited: Dec 10, 2013
  2. Jeffreyy

    Jeffreyy Registered Member

    Joined:
    Aug 30, 2013
    Messages:
    58
    Likes Received:
    8
    change
    SET !LOOP 1
    to
    SET !LOOP 2
     
    • Thanks Thanks x 1
  3. SquatsDidThis

    SquatsDidThis Newbie

    Joined:
    Mar 28, 2013
    Messages:
    43
    Likes Received:
    16
    Occupation:
    Business Owner & Startup Founder
    Location:
    Virtually Everywhere
    Yup that worked! Any idea why it skips 1 every time it follows? Is it because of
    TAG POS={{!LOOP}}

    What can I replace that with?
     
  4. SquatsDidThis

    SquatsDidThis Newbie

    Joined:
    Mar 28, 2013
    Messages:
    43
    Likes Received:
    16
    Occupation:
    Business Owner & Startup Founder
    Location:
    Virtually Everywhere
    To be more beneficial, I thought I'd summerize. The following iMacro script will Mass follow on Twitter and will skip the first person who's follower's list you are trying to follow. Problem however is that it keeps skipping one between each follow. Anyone know how to fix that issue?

    Code:
    SET !ERRORIGNORE YES
    SET !LOOP 2
    TAG POS={{!LOOP}} TYPE=BUTTON ATTR=TYPE:button&&CLASS:js-follow-btn<SP>follow-button<SP>btn&&TXT:Follow<SP>Following<SP>Unfollow<SP>Blocked<SP>Unblock<SP>Pen*
    WAIT SECONDS=0
    Enjoy!:eek:
     
  5. ahknfilct

    ahknfilct Newbie

    Joined:
    Dec 12, 2013
    Messages:
    16
    Likes Received:
    9
    hello! i am an imacro noob but i will give it my best shot!
     
  6. ahknfilct

    ahknfilct Newbie

    Joined:
    Dec 12, 2013
    Messages:
    16
    Likes Received:
    9
    sadly there was nothing i could do in my inexperience sorry friend
     
  7. masush300

    masush300 Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 16, 2012
    Messages:
    1,015
    Likes Received:
    333
    Occupation:
    Coding
    Location:
    Imagine Dragons
    Home Page:
    make a txt file
    paste below code
    then change it to javascript extension ie .js

    Code:
    
    
    for(i=0;i<1000;i++){
    if (i==0){}
    else
    {
    var macro;
    macro = "CODE:";
    macro += "SET !ERRORIGNORE YES" + "\n"; 
    macro += "TAG POS="+i+" TYPE=BUTTON ATTR=TYPE:button&&CLASS:js-follow-btn<SP>follow-button<SP>btn&&TXT:Follow<SP>Following<SP>Unfollow<SP>Blocked<SP>Unblock<SP>Pen*" + "\n"; 
    macro += "WAIT SECONDS=0" + "\n"; 
    iimPlay(macro)
    }
    
    
    }
    
     
    • Thanks Thanks x 1
  8. sameer5762

    sameer5762 Elite Member

    Joined:
    Sep 23, 2009
    Messages:
    5,228
    Likes Received:
    1,468
    Occupation:
    Software engineer
    Location:
    http;//sameer5762.com
    Home Page:
    OP pm me if you are still looking for your issue to be sorted out..

    Thanks