我想在循环中添加一些条件,一旦完成 5 次运行,它就会移动到暂停选项而不是每次。谢谢
VERSION BUILD=8601111 RECORDER=FX
TAB T=1
SET !DATASOURCE email.csv
SET !DATASOURCE_COLUMNS 45
SET !REPLAYSPEED FAST
SET !DATASOURCE_LINE {{!LOOP}}
SET !EXTRACT_TEST_POPUP NO
SET !ERRORIGNORE YES
ONDOWNLOAD FOLDER=* FILE=image.jpg WAIT=YES
URL GOTO={{!COL1}}
TAG POS=1 TYPE=A ATTR=TXT:Request<SP>contact<SP>details
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/contact_league ATTR=NAME:first_name CONTENT={{!COL2}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/contact_league ATTR=NAME:last_name CONTENT={{!COL3}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/contact_league ATTR=NAME:email CONTENT={{!COL4}}
TAG POS=1 TYPE=IMG ATTR=HREF:*recaptcha* CONTENT=EVENT:SAVEPICTUREAS
WAIT SECONDS=5
TAB OPEN
TAB T=2
SET !EXTRACT_TEST_POPUP NO
URL GOTO=http://api.deathbycaptcha.com/decaptcher?function=picture2&print_format=html
TAG POS=1 TYPE=INPUT ATTR=NAME:username CONTENT=mylogin
TAG POS=1 TYPE=INPUT ATTR=NAME:password CONTENT=mypassword
TAG POS=1 TYPE=INPUT ATTR=NAME:pict CONTENT=C:\Users\datlik\Documents\iMacros\Downloads\image.jpg
TAG POS=1 TYPE=INPUT ATTR=TYPE:submit
WAIT SECONDS=9
TAG POS=6 TYPE=TD ATTR=* EXTRACT=TXT
SET !VAR1 {{!EXTRACT}}
pause
TAB CLOSE
TAB T=1
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/contact_league ATTR=ID:recaptcha_response_field CONTENT={{!VAR1}}
pause''