达到规则后停止iMacros脚本

时间:2019-03-02 13:24:42

标签: javascript tabs imacros

如果已达到特定规则,我应该在iMacros脚本中使用哪种函数/变量以使其停止执行?例如,我想设置一个!VAR以在打开TAB T = 3时停止脚本:

VERSION BUILD=12.0.501.6698

TAB T=1 
TAB CLOSEALLOTHERS 
URL GOTO=http://www.google.com
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:post ATTR=ID:jessie CONTENT=1
TAG POS=1 TYPE=INPUT:BUTTON FORM=ID:post ATTR=NAME:random_button
TAB OPEN
TAB T=2
URL GOTO=http://www.google.com
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:post ATTR=ID:jessie CONTENT=2
TAG POS=1 TYPE=INPUT:BUTTON FORM=ID:post ATTR=NAME:random_button
TAB OPEN
TAB T=3
URL GOTO=http://www.google.com
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:post ATTR=ID:jessie CONTENT=3
TAG POS=1 TYPE=INPUT:BUTTON FORM=ID:post ATTR=NAME:random_button
TAB OPEN
TAB T=4
URL GOTO=http://www.google.com
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:post ATTR=ID:jessie CONTENT=4
TAG POS=1 TYPE=INPUT:BUTTON FORM=ID:post ATTR=NAME:random_button
TAB OPEN
TAB T=5
URL GOTO=http://www.google.com 
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:post ATTR=ID:jessie CONTENT=5
TAG POS=1 TYPE=INPUT:BUTTON FORM=ID:post ATTR=NAME:random_button

0 个答案:

没有答案