immaculate how to extract only numbers

Asked

Viewed 296 times

0

I have this code

ONDOWNLOAD FOLDER=D:\ FILE=media.jpg WAIT=YES

TAG POS=1 TYPE=IMG ATTR=ID:adcopy-puzzle-image-image 

CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT

TAB OPEN

TAB T=2

URL GOTO=http://2captcha.com/imacros.html

TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://rucaptcha.com/in.php ATTR=NAME:key 

CONTENT=edaceeb357f4b0

TAG POS=1 TYPE=INPUT:FILE FORM=ACTION: aqui fica o mesmo link de cima ATTR=NAME:file 

CONTENT=D:\media.jpg

TAG POS=1 TYPE=INPUT:SUBMIT ATTR=TYPE:submit&&VALUE:recognize

WAIT SECONDS=1

SET !EXTRACT NULL

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

TAB CLOSE

TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=NAME:adcopy_response CONTENT={{!EXTRACT}}``

but when it comes time to extract only precise numbers, example appears on the screen OK |958959, in this the iMacro copy everything ai error wanted to copy only the numbers what I have to do in the code.

  • sorry if I don’t get too organized and too complicated to fiddle around when posting

  • @Zignd iMacro uses a scripting language itself, I think it’s not web-api no.

  • @Diegofelipe added web-api following the concept of this article in Wikipédia, https://en.wikipedia.org/wiki/Web_API but maybe it would be interesting to add a proper tag to it, just to remove the same web-api-2, which was being misused

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.