|
Post by starloc96 on Sept 16, 2022 12:07:42 GMT
I want to add a timeout (about 2 seconds) between actions 1, 2 and 3, what command is needed. I use Snapnplay
touchList[index] = {target = "01.png", 5, region = Region(56, 438, 60, 60), id = "01", action = 'swipe(matchResult, matchResult:offset(516, -20))'} index = index + 1
touchList[index] = {target = "02.png", region = Region(51, 546, 60, 60), id = "02", action = 'swipe(matchResult, matchResult:offset(541, -2))'} index = index + 1
touchList[index] = {target = "03.png", region = Region(54, 673, 60, 60), id = "03", action = 'swipe(matchResult, matchResult:offset(545, -11))'} index = index + 1
|
|
|
Post by AnkuLua on Sept 17, 2022 0:06:16 GMT
What do you mean "timeout"? Is it "wait(2)"?
|
|
|
Post by starloc96 on Sept 17, 2022 3:12:27 GMT
What do you mean "timeout"? Is it "wait(2)"? Yes,Delay between touches. But I can't add wait(2) commands to test.luar in SnapAndPlay because they don't work
|
|