Where the text should appear?(文字应出现在哪里?)
You can add an if statement inside your auto click script that exit yoir code.(您可以在自动点击脚本中添加if语句,以退出您的代码。) Maybe you can show us a little more.(也许您可以向我们展示更多。)
Anyway, it should be something like this(无论如何,应该是这样的)
yourAutoFunction(){
let exit = false;
while(!exit){
if(textagxAppears){
exit=true;
}else{
//run your automation script here
}
}
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…