auto.waitFor()
i = 1;
while (true)
{
toast("滑动" + i + '次');
WidthOne = random(300, 800);
HeightOne = random(1800, 2000);
WidthTwo = random(300, 800);
HeightTwo = random(200, 500);
timeGo = random(250, 300);
var time=200;
//随机等待时间random(最小值,最大值)根据需要更改数值(单位秒)
var time_random=random(1,3)*1000;
swipe(WidthOne, HeightOne, WidthTwo, HeightTwo, timeGo);
sleep(time_random);
i++;
function heartClick()
{
click(950, 1300);
}
sleep(1000);
-------------------------------
var num=100; //操作3000次
a=1;
while(a<num){
click(997,1379); //点击位置,这里需根据情况调整,注意避开广告位置
toast("自动翻页第"+a+"次");
sleep(10000); //等待10秒钟
a++;
}
}
i = 1;
while (true)
{
toast("滑动" + i + '次');
WidthOne = random(300, 800);
HeightOne = random(1800, 2000);
WidthTwo = random(300, 800);
HeightTwo = random(200, 500);
timeGo = random(250, 300);
var time=200;
//随机等待时间random(最小值,最大值)根据需要更改数值(单位秒)
var time_random=random(1,3)*1000;
swipe(WidthOne, HeightOne, WidthTwo, HeightTwo, timeGo);
sleep(time_random);
i++;
function heartClick()
{
click(950, 1300);
}
sleep(1000);
-------------------------------
var num=100; //操作3000次
a=1;
while(a<num){
click(997,1379); //点击位置,这里需根据情况调整,注意避开广告位置
toast("自动翻页第"+a+"次");
sleep(10000); //等待10秒钟
a++;
}
}