Imacro captcha script problem

rizz13

Newbie
Joined
Apr 29, 2010
Messages
5
Reaction score
1
i made a script that looks like this
Code:
FILEDELETE NAME=C:\wamp\www\api\pic.jpg
ONDOWNLOAD FOLDER=C:\wamp\www\api\ FILE=pic.jpg
TAG POS=1 TYPE=IMG ATTR=HREF:"captcha url" CONTENT=EVENT:SAVEITEM
TAB OPEN
TAB T=2
SET !TIMEOUT 180
URL GOTO=h**p://localhost/api/main.php
SET !EXTRACT_TEST_POPUP NO
TAG POS=1 TYPE=BODY ATTR=TXT:* EXTRACT=TXT
SET !VAR1 {{!EXTRACT}}
TAB T=1
TAB CLOSEALLOTHERS
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:* ATTR=ID:recaptcha_response_field CONTENT={{!VAR1}}
And it works..for the first captcha.On the second one when it loads the captcha it displays the first captcha and the second and looks like this

fAe#8 [EXTRACT]it2Yj

so the first captcha is fAe#8 and that used for the first load. but it2yj is the second one and the one that should be loaded on the captcha filed.Also sometimes it only loads the first captcha..without the [extract]^secondcaptcha^ sequence.And it's not good.I hope i explained myself well.How can i make it work?
 
no one? please guys i really need some help here
 
yeah it works now. thank you
 
Back
Top