|
Post by rajikhushi70 on Jun 14, 2017 7:13:03 GMT
Hello I want to click perticular location 10 times, after 2 second
will below script will work?
If exists("alt.png",5) then click(getLastMatch()) wait(5)
If exists("map.png") then continueClick(Location(570,1080),10)) --> need 10 click here else keyevent(4) wait(20) end
Thanks in advance
|
|
|
Post by AnkuLua on Jun 14, 2017 8:00:55 GMT
continueClick(Location(570,1080),10) will click the location in less then 2 seconds.
If you want to click the location every 2 seconds for 10 times, it should be
for i = 1, 10 do click(Location(570, 1080)) wait(2) end
|
|
|
Post by rajikhushi70 on Jun 14, 2017 8:47:04 GMT
ok.. thank you sir
|
|