please help me with imacros coding

chaitu9916

Registered Member
Joined
Jun 21, 2010
Messages
56
Reaction score
1
hello everyone ....
i need some help with coding part in imacros
i hav learnt coding imacros from basics in this site .......

i am confused of how retrieving data from exeternal text files works and fills the corresponding columns
SET !DATASOURCE C:\t1.txt
SET !DATASOURCE_COLUMNS 1
SET !LOOP 2
SET !DATASOURCE_LINE {{!LOOP}}
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:first_name CONTENT={{!COL1}}

dats d code normally i use to fetching data from text file and filing it in form ,as u can see above its frst name

the problem im facing is
wen i have multiple fields like frst name ,last name email id and i need to source data from multiple text files(each file corresponds to each field)
the imacros is fetching it randomly rather than one by one

lets say i want to create 100 accounts in xxxxxx.com
wat im trying here to achieve is :
1)go to gmail
2)login
3)again in here fetch username and password from 2 lists
3)open d first mail
4)click on the "click on this" (its an invite sent by xxxx.com)
5)move to the newly opened tab
6)fill in form by geting data from various text files(frst name,last name etc)
7)prompt for typing in the captcha
8)submit


diz is wat im planning to achieve starting from 100 acounts and if succesful move onto large scale creation
am prepared to type in captcha since i cant afford 40$ bypasscaptcha

here s the code i kinda tried

VERSION BUILD=6240709 RECORDER=FX
TAB T=1
URL GOTO=https://www.google.com/accounts
SET !DATASOURCE C:\guser.txt
SET !DATASOURCE_COLUMNS 1
SET !LOOP 2
SET !DATASOURCE_LINE {{!LOOP}}
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:username CONTENT={{!COL1}}

SET !DATASOURCE C:\gpassword.txt
SET !DATASOURCE_COLUMNS 1
SET !LOOP 2
SET !DATASOURCE_LINE {{!LOOP}}
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=IDassword CONTENT={{!COL1}}



URL GOTO=https://mail.google.com/mail/h
i still have figure out how auto open mail and click on the invitation link

TAB=2
SET !DATASOURCE C:\t1.txt
SET !DATASOURCE_COLUMNS 1
SET !LOOP 2
SET !DATASOURCE_LINE {{!LOOP}}
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:first_name CONTENT={{!COL1}}

SET !DATASOURCE C:\t2.txt
SET !DATASOURCE_COLUMNS 1
SET !LOOP 2
SET !DATASOURCE_LINE {{!LOOP}}
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:last_name CONTENT={{!COL1}}



TAG POS=1 TYPE=SELECT FORM=NAME:NoFormName ATTR=ID:country_code CONTENT=%IN
TAG POS=1 TYPE=LABEL ATTR=TXT:Zip/Postal<SP>Code:
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=IDostal_code CONTENT=50001
TAG POS=1 TYPE=SELECT FORM=NAME:NoFormName ATTR=ID:time_zone CONTENT=%19800
TAG POS=1 TYPE=INPUT:RADIO FORM=NAME:NoFormName ATTR=ID:gender_m
TAG POS=1 TYPE=SELECT FORM=NAME:NoFormName ATTR=ID:birth_date_month CONTENT=%4
TAG POS=1 TYPE=SELECT FORM=NAME:NoFormName ATTR=ID:birth_date_day CONTENT=%19
TAG POS=1 TYPE=SELECT FORM=NAME:NoFormName ATTR=ID:birth_date_year CONTENT=%1980
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:NoFormName ATTR=IDassword CONTENT=123456
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:NoFormName ATTR=IDassword_confirm CONTENT=123456
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=IDhone_number CONTENT=43545435
PROMPT Please<SP>enter<SP>the<SP>captcha !VAR1
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:recaptcha_response_field CONTENT={{!VAR1}}
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:NoFormName ATTR=NAME:submit&&VALUE:Submit
TAG POS=1 TYPE=IMG ATTR=ID:check-in-banner
TAG POS=1 TYPE=A ATTR=TXT:Sign<SP>Out


I JUS LOOP d whole thing for number of account i can make

is the code correct for retriving data from files........password and username should match dats important right

and also if anyones got any list of names wich i can use as first name and last name it would be great (jus to cover d fact that they are illegal)

i tried my best to explain ...any help would really help me
thank you
 
i didnt find any proper category for posting this and i cant pm anyone specifically for this purpose since im a newbie in here....

please help me guys i really need it

and also coming tp captcha......i have registered with captchabot....how do i buy the pack of 1000 for 1$??

any other good captcha solvers for bypassing mainly recpatcha images......and also i need to implement these into above code....

anybody can help??
 
Hi

If you are pulling data from multiple columns (eg column 1=name, column 2=email, column 3 website) then the "SET !DATASOURCE_COLUMNS 1" is wrong. If I remember right it should reflect the number of columns you are using, eg the above example is 3).

Can't help with captchas as I had a code which popped them up, have you read through the imacros site? some useful training over there.
 
yup gone thru those demos......i can create prompts for captcha thats not the problem

and i suse separate files for each of email username etc so its still 1 column per file

email opening is an issue plus to click on verify link on email the websites sends since it changes for each acc
 
Back
Top