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

Translate iMacros to AutoIt

Discussion in 'Other Languages' started by Dancing, May 23, 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 and need your help.
    How are you using this typical iMacros script in AutoIt?
    How is it possible in AutoIt to say read from this csv, fill the form and write the given solution to a csv?
    Do you have an example code of AutoIt?

    Code:
    VERSION BUILD=7401110 RECORDER=FX
    TAB T=1
    SET !DATASOURCE hm.csv
    SET !DATASOURCE_COLUMNS 5
    SET !DATASOURCE_LINE {{!LOOP}}
    URL GOTO=hm
    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:imembernamelive CONTENT={{!COL1}}
    SET !ENCRYPTION NO
    TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:NoFormName ATTR=ID:iPwd CONTENT={{!COL2}}
    TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:NoFormName ATTR=ID:iRetypePwd CONTENT={{!COL2}}
    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:iAltEmail CONTENT={{!COL3}}
    TAG POS=1 TYPE=DIV ATTR=ID:iPhoneHint
    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:iFirstName CONTENT={{!COL4}}
    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:iLastName CONTENT={{!COL5}}
    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:iZipCode CONTENT=[CHANGE]<SP>[THIS zipcode]
    TAG POS=1 TYPE=INPUT:RADIO FORM=ID:SignUpForm ATTR=ID:iGenderMale
    TAG POS=1 TYPE=SELECT FORM=NAME:NoFormName ATTR=ID:iBirthDay CONTENT=%3
    TAG POS=1 TYPE=SELECT FORM=NAME:NoFormName ATTR=ID:iBirthMonth CONTENT=%3
    TAG POS=1 TYPE=SELECT FORM=NAME:NoFormName ATTR=ID:iBirthYear CONTENT=%1950
    PROMPT captcha !VAR1
    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:iCdHIPBInput0 CONTENT={{!VAR1}}
    TAG POS=1 TYPE=BUTTON ATTR=TXT:I<SP>accept
    csv:
    randomusername314134 password randommailadress firstname lastname