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

imacro script-need help!!

Discussion in 'Social Networking Sites' started by Arikool, Nov 19, 2012.

  1. Arikool

    Arikool Newbie

    Joined:
    Nov 3, 2012
    Messages:
    16
    Likes Received:
    13
    dear friends,
    I want to know if there is a way to make a !loop in imacro skip POS every second time. for example, if I start the !loop normally and write: "POS= {{!loop}}" it will start with POS=1, then POS =2, then POS=3, then POS=4, then POS=5 and so on. I want the macro to do only: POS=1, POS=3,POS=5 and so on (without POS=2 and POS=4). does someone know how to do this?
    thanks!!!
     
  2. roxiea90

    roxiea90 Power Member

    Joined:
    Jun 28, 2011
    Messages:
    532
    Likes Received:
    127
    Occupation:
    Become Successful In This World And AfterLife
    Location:
    Secret
    i think it cant
     
  3. Arikool

    Arikool Newbie

    Joined:
    Nov 3, 2012
    Messages:
    16
    Likes Received:
    13
    anyone else?
     
  4. jakejackcall

    jakejackcall Newbie

    Joined:
    Aug 3, 2012
    Messages:
    15
    Likes Received:
    5
    VERSION BUILD=7601015 RECORDER=FX
    TAB T=1
    'Store the value of !loop in a variable
    SET !VAR1 {{!LOOP}}
    ADD !VAR1 {{!LOOP}}
    'now !var1 = 2*!loop. Subtract 1 to get odd numbers.
    ADD !VAR1 -1
    TAG POS={{!VAR1}} TYPE=A ATTR=HREF:*
    PROMPT {{!VAR1}}