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

AutoIt ff.au3 sample code

Discussion in 'Black Hat SEO' started by Dancing, May 27, 2014.

  1. Dancing

    Dancing Newbie

    Joined:
    May 23, 2014
    Messages:
    5
    Likes Received:
    0
    Hello,
    I'm using iMacros to automate/bot
    Now I want to change to AutoIt.
    How are you using AutoIt to read from this csv, fill the form on Firefox and write the given solution to a csv?
    Do you have an example code of AutoIt?

    Thank you very much.
    PS: If you post a sample code, I will dance for you!
     
  2. Groen

    Groen Regular Member

    Joined:
    Nov 7, 2009
    Messages:
    397
    Likes Received:
    221
    How are the columns seperated in your .csv file? I'd most likely just use FileReadLine() and StringSplit() to read from it and FileWriteLine() to write to it.

    For Firefox you'll want to look at _FFstart(), _FFSetValue(), _FFClick(), and _FFGetValue() in the documentation. If I'm not mistaken then there's some pretty good examples for all the functions. Though I don't get why you'd want to use Firefox rather than IE? I find that IE is much better documented in the help file and the IE functions has been created by the developers of AutoIT, and they're updated.

    Also, as you're probably going to create accounts, you might have use of looking at my example of how I'm solving recaptcha using DeathByCaptcha. Dbcclient.au3 is available on DBC's website and I've inserted more comments to help you better understand what I'm doing: http://pastebin.com/fThtwLpt
     
    • Thanks Thanks x 1
    Last edited: May 27, 2014
  3. Dancing

    Dancing Newbie

    Joined:
    May 23, 2014
    Messages:
    5
    Likes Received:
    0
    Thank you very much Groen.
    My csv file is seperated with semicolon ;
    I will use check your example to learn with it.
    Thank you for the comments, they help me.