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

iMacro help (for Instagram)

Discussion in 'Social Networking Sites' started by Fidel Castro, Jul 4, 2014.

  1. Fidel Castro

    Fidel Castro Newbie

    Joined:
    Jan 23, 2014
    Messages:
    8
    Likes Received:
    1
    Howdy!

    I know there are zillions of threads about iMacro scripts etc. but I'm not going to ask for someone to write it for me.

    I'm no expert but I can figure it out and make it myself. I just need some expert-level help from someone who has been using them for much longer.

    Making a script to like photos was a piece of cake and I found no problems on making it by myself in less than a minute.

    What I'm trying to do now is commenting on random photos and that's where I'm stuck.

    The problem with commenting is that it's always stuck with the specific link for the specific photo and that's not what I want. I need some RANDOMNESS (or whatever you wanna call it).

    Is there a command on iMacro to do a specific action on a random object? Not sure if I'm explaining myself correctly so let me give you an example of what I want to achieve.

    I want to open a certain set of images (let's say the latest images with hashtag #girl) and that I want to make a pre-written comment on one of those photos. So I want to input a comment on a blank space next to the image. I can do that but the comment is 'stuck' with the link of that picture and the next time I run the script it will comment on the SAME picture again which, again, is not what I want.

    I hope you get the picture now :)

    Liking is much easier as the thumbnails are always in the same place and you can easily like random photos by setting the proper parameters. You can even play smart and choose the X & Y parameters. But when the layout is for commenting the blank spaces (for writing comments) are always in different areas and I can't figure out how to solve this puzzle.

    I know there are again million of scripts out there (even for free) but I don't like using someone's else work but instead wanna do it by myself with your help.

    Maybe then some more people will get inspired on actually trying/doing something on their own instead of begging everywhere for scripts/bots/whatever.

    Thanks a lot in advance,

    Fidel
     
  2. ahmdhoshan

    ahmdhoshan Registered Member

    Joined:
    Mar 10, 2014
    Messages:
    66
    Likes Received:
    5
    That is an example to use Random in imacro:

    SET !VAR1 EVAL("var randomNumber=Math.floor(Math.random()*10 + 1); randomNumber;")
    WAIT SECONDS={{!var1}}


    The code above is random numbers between 1 to 10...
     
  3. javilan

    javilan Newbie

    Joined:
    Jun 14, 2014
    Messages:
    15
    Likes Received:
    8
    Gender:
    Male
    Location:
    Argentina
    well... Do you need strictly iMacro?
    you can write a simple code to comment randomly always into the blank spaces without errors.
    Just try image detection function. I use macro scheduler and macro recorder with great results..

    PM if you need help. i really like using those software to automate and mimic human events ;)
     
  4. BoJangles1993

    BoJangles1993 Newbie

    Joined:
    Sep 3, 2012
    Messages:
    4
    Likes Received:
    0
    go
    good work
     
  5. lykathe

    lykathe Regular Member

    Joined:
    Oct 23, 2009
    Messages:
    439
    Likes Received:
    115
    Gender:
    Male
    Occupation:
    full time PHP/JS/Python freelance
    Location:
    Detroit
    IG is hard to bot bc they use dynamic variables for EVERYTHING(Facebook too) so you have to make your query selectors relative to the structure(or some other workaround rather than defining a attribute and selecting that way) matter what because literally every attribute changes on every reload. iMacros will be basically impossible to do this with, the only way to do the random shit is Javascript which you can call in using .js instead of .iim or using !EVAL into iMacros as above. Picking a random photo will be hard too but you can make a dynamic selector with the math function like above, sounds like some clever coding tho. Why not Massplanner?
     
    • Thanks Thanks x 1
  6. makistoj

    makistoj Jr. VIP Jr. VIP

    Joined:
    Jan 18, 2016
    Messages:
    1,915
    Likes Received:
    745
    Gender:
    Male
    Location:
    Canada
    This thread is from 2014...
     
  7. lykathe

    lykathe Regular Member

    Joined:
    Oct 23, 2009
    Messages:
    439
    Likes Received:
    115
    Gender:
    Male
    Occupation:
    full time PHP/JS/Python freelance
    Location:
    Detroit
    hahahah holy shit did not notice necromancy.