How to make imacro to select/solve the captcha?(RecaptchaV2)

Crissy

New member
#1
I edited some code to auto solve recaptcha v2. I get the numbers from api of 2captcha/9kw and all is perfect!

But after I get the numbers. LIKE: 258 How can I make each number to select this box?

This is the code I have for this part: (but its not select the specific numbers, its select all the photos)

Please if someone know how to fix it, please help.
Code:
'Fill the recognized characters to the verification box (Click the pictures 1..9)

FRAME F=2
SET !ERRORIGNORE YES

SET 1 EVAL("var s=\"{{answer}}\"; if(s.match(/^[0-9]+$/) && s.length <= 9 && s.length >= 2) s.substr(0,1); else MacroError(\"Captcha answer is wrong.\")")
TAG POS=1 TYPE=IMG ATTR=SRC:https://www.google.com/recaptcha/api2/payload?c=*

SET !ERRORIGNORE NO``