Ads

Tuesday, 16 July 2013

Plug-in to your Imacros macro to solve the captcha

Posted By: MHS CHANEL - 10:00
To Solve the captcha you Go to http://www.beatcaptchas.com/captcha.php enter your key you get upon signup and upload the captcha file. Shortly after upload the captcha will automatically return with the captcha text.

Here is the code you Plug-in to your Imacros macro to solve the captcha. If you are confused about how to write a macro or have any other questions about it send questions to support@beatcaptchas.com


<your start of the macro is here>
'typically you put this code when you are first able to see/download the captcha
'this deletes the previous captcha picture otherwise imacros will have errors
FILEDELETE NAME=c:\pic.jpg
'this sets where you want to download the captcha to on your computers. You MUST call the captcha pic.jpg otherwise errors might happen
ONDOWNLOAD FOLDER=c:\FILE=pic.jpg
'this downloads the captcha you do this by using the SAVE ITEM command while recording and click on the captcha
TAG POS=1 TYPE=IMG ATTR=HREF:<THIS IS WHERE YOU INSERT CAPTCHA HREF>CONTENT=EVENT:SAVEITEM
'this opens and brings you to a new tab to upload your captcha
TAB OPEN
TAB T=2
URL GOTO=http://beatcaptchas.com/captcha.php
'you are given a key upon signup and you paste it here
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:upload.php ATTR=ID:key CONTENT=<PASTE KEY HERE>
'this is the location of your captcha on your computer to upload
TAG POS=1 TYPE=INPUT:FILE FORM=ACTION:upload.php ATTR=NAME:file CONTENT=C:\pic.jpg
WAIT SECONDS=3
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:upload.php ATTR=NAME:submit
TAG POS=1 TYPE=BODY ATTR=TXT:* EXTRACT=TXT
'this sets the captcha as variable 1 to use later
SET !VAR1 {{!EXTRACT}}
TAB T=1
'this shows an example of how to input the variable into the captcha input
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regFormBody ATTR=ID:captcha CONTENT={{!var1}}
<END OF MACRO HERE>

About MHS CHANEL

Hi, I am Hafeez Ullah Khan. A webdesigner, blogspot developer and UI designer. I am a certified Themeforest top contributor and popular at JavaScript engineers. We have a team of geeks and professinal programmers, developers work together and make unique blogger templates.

© 2016 - Blogger Templates Designed by: Templatezy