Quantcast
Channel: All Discussions - Captcha Sniper Customer Support Forum
Viewing all articles
Browse latest Browse all 151

Need help for CS with IMacros.

$
0
0
I am trying to use CS with iMacros on the next page: http://prostosurf.ru/signup/
It looks like it redirects me to C:/captchasnipertest.html (which I have in C) and then nothing happends.
Can someone help me , here is the code:

TAB T=1
SET !TIMEOUT_STEP 1
SET !ERRORIGNORE YES
URL GOTO=http://prostosurf.ru/signup/
FILEDELETE NAME="C:\\captcha.jpg"

'define where we want to download the captcha image

ONDOWNLOAD FOLDER=c:\ FILE=captcha.jpg

'this downloads the captcha image - this line below will be specific to the form you are writing your macro for.

TAG POS=1 TYPE=IMG ATTR=SRC:http://www.prostosurf.ru/engine/modules/antibot.php CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT

'this opens a new tab to submit the image to Captcha Sniper and loads the file that came with your download

URL GOTO=file:///C:/captchasnipertest.html

TAG POS=1 TYPE=INPUT:FILE FORM=ACTION:http://poster.decaptcher.com/ ATTR=NAME:pict CONTENT=C:\captcha.jpg


TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:http://poster.decaptcher.com/ ATTR=VALUE:Send

'this extracts the answer from Captcha Sniper and saves it into a variable !VAR1

SET !EXTRACT_TEST_POPUP NO

TAG POS=1 TYPE=BODY ATTR=TXT:* EXTRACT=TXT

SET !VAR1 EVAL("var s=\"{{!EXTRACT}}\"; l=s.lastIndexOf(\"|\");s=s.substr(l+1);")

'close the tab

TAB CLOSE

'set the captcha image text box to the answer from Captcha Sniper.  Again, parts of the line below will be specific to the form you are writing your macro for.

TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:fpg_form ATTR=NAME:fpg_antispam CONTENT={{!VAR1}}


Viewing all articles
Browse latest Browse all 151

Trending Articles