摘要:关于tc技巧备忘

随机延时

sleep(rnd(5000,8000))

对于单次点击不生效的问题

ret=lw[索引].MoveTo(x,y)
ret=lw[索引].LeftUp()
sleep(随机数(10,50))
ret=lw[索引].LeftDown()
ret=lw[索引].LeftClick()
traceprint("点击")

截图保存

ret = lw[索引].Capture(x,y,2000,2000,"E:\\脚本\\1\\screen"&cstring(x)&","&cstring(y)&".bmp")
traceprint("图像保存结果"&cstring(ret))