autojs在ui模式下,必须在线程里创建悬浮窗,否则就卡死了

之前就卡死过,过几天没写,给忘了,今天又卡死,记录一下......

"ui";
ui.layout(
    <vertical>
        <horizontal>
            <img src="file://返回.png" />
            <text textColor="#FF888888" text="左右滑动" textSize="16" />
        </horizontal>
    </vertical>
);

如果直接再创建悬浮窗,跑起来就卡死了.下面是创建悬浮窗的代码.

function createFloaty() {

    window = floaty.window(
        <vertical>
            <vertical id="start" bg="#000000" alpha="0.5" w="50" h="52" gravity="center">
                <img w="30" h="30" layout_gravity="center" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAcMUlEQVR4Xu1dCbAtVXVdK6U4V0SloqaMsRzQqEFxAAURAuIchQQcIgqCkSg4IApKFDGg8B0QBxwCCKJG4wAGRURQBEFwQgwIOIEaZ1SMiQMaV2o9T3/uf//d97rv3ef0cHtXdT3xn95n73163TPtgRgpmwUk3QbA5um5E4Bb1Hgszy9rPFcBuNIPyWuyKbHgjLng+oeoL6kCwd0nAOH/zwApQQbIEljSc0UCjv97pDksMAKkofEk3QrA/QE8BMB26WnIpWjzcwH4OQ/AF0j+rGjvPe9sBMgaAyjpzgAekJ5tAGzV8zG/CMD5AD7vh+Q3e65PVvFHgKxgXkk7AngsAP+9V9YRaJ/5pQDOBnAaSf8dacICI0CSMSRtDeAx6dliQb+SSwB8xA/JCxfUBhuovdAAkeTZoQKFl08jXW8BL8MqsHiWWUhaOIBI2gTAXgB2BbDzQo56c6XPBPAhAO8geV3z1/v7xsIARNKmAJ6ewHHP/g5Zq5JfZpAAOIHkz1uVpFDngweIpDskUHjW+MtCdh16N1cnoHhG+e6QlR0sQCT50q6aMUpd2A35W1lJN19QVjOKLycHR4MDiKT7AtgnzRo3GdyIdVOhXyegHEfy4m6KOJtUgwGIpBsBOCg9N53NHONbc1rgVwCO8kPyt3Py6sTrgwCIpN0AvCi5gHTCsAsuxBcArCP5/r7bodcAkeTTKM8ae/R9IAYq/8lpNvHpVy+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Tzf97Iwb5+ZCiN5xrhuYbQe4ia9yeCl0FInjfCzTZN3F6Cts+U7qtJJEy5dAH1XVHHhZpBpAy1p6wQUg2WLBf0g7IlcgcIu/AtPI0BW+AQk7QjAqWYcUzH0/Yr3FWcBOG3MFbbxxzACZI3fSEl2Lffs4seReCVzC+f4Bfc9hXOBeYa4kKQT+I00xQIjQBp+GpJ8p2JPYu9Zqqchl6LNvZeongtI+u5ipJoWGAFS01CrNUuzTBXE5L/VU+qC0h+9Z4Lq8aXdlePsMP/gjgCZ34ZTOaTZpgLLnQDcosZjfr+s8VxVAWKcFfIN4v8DjrHRMqG8jI0AAAAASUVORK5CYII=" />
                <text text="开始" textColor="white" textSize="10" gravity="center" />
            </vertical>
            <vertical id="stop" bg="#000000" alpha="0.5" w="50" h="52" gravity="center" marginTop="20">
                <img w="30" h="30" layout_gravity="center" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAaGElEQVR4Xu2dCdBsRXXH//+UgppYAZWKmDKGUgEjBEUUlEUIi4IShQRcEg1PTDSuAVFAVMBAhKeCuCAqi0hiUIygKCKCssjmwhOECLiAcY9PwVARwVRO6j/pecz3fbPcnnv6TvdMn6pbI76+p7tP39/X+zlElWQWMLOHAdgsPJsAeHCDR+W5q8FzG4Bb9JBcm6wSC66YC15/l+qbWR+CzQeA0P8nQLoQAdKDJTw3B3D031VaWKACEmk8M3sIgG0A7Ahgp/BEauk0+eUA9FwB4Gskf9lp7oVnVgGZ0IBm9mgATw7P9gC2LbzNrwVwJYCv6iH53cLrk7T4FZAh5jWzXQHsDUC/WyRtgdkrvxHAJQDOJ6nfKgMWqIAEY5jZdgCeHZ6tFvQruR7AZ/SQvGZBbbCk2gsNiJmpd+hDoeFTlfssoGFYHxb1MgspCweIma0HYBWAfQHssZCtHl/piwB8EsAZJO+Nf73cNxYGEDPbEMBLAhyPL7fJZlrymwQJgNNJ3jHTknSU+dwDYmaPDFCo1/jjjuw679ncHkBRj/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yvyXpWNGtAMh5yjWuD68Mlrm8B6D0kv+3ZaIO6zEzhuRVsRo820/Tb6Q73lHXLcki1vC7ZA1LAkKvJ9/E/fVjC728AjHseAGDc0wdBMChdaZLtkKpIQAobcpX2sXZd3qyHVEUDEnoTXcaRd4xUDrO7/mAWJT85kl7d1ldu18YqYoi13ChmpnIfGp4U8Um6bod5zk/xOXQ3XZGMZ3GKu5VtiwRkYMglhwACJVWkq1bGrS/jrADGVMFrcrBf0YAMgKKoRBp2pQgsmkM7lVYGBczUcCo6JmBuFZ0LQMLcRNF3+8OuFHHcc2u7HMujOOT94VRUNNkcK6MyzQ0gA72J7rzrePYqAA/M1fBzVi75JdMZulNJrpmnus0dIAOgaI9AroYESteXfObpGxlXl7UBDLnguXkeKz23gAyAIjc0gkSPdp2rtLeAAquqxziD5A/aq8tXw9wDMgDKhgM9Smp3mPm2eLuSaTVKYKjHWAiv+gsDyAAo64XeRCG69mj3vSzM2xeFwEjqMe5dmFrP4yQ9pvHC1VI5jdCzfcy7C5BW3vJ1q1JOE25cgPoOreLC9SCjGtrMtgugCJatFvSD0EnkPhQ6wr/wUgEZ8gmY2a4A5GpGdyrmfb6iecXFAM6vvsJWfgwVkAl/I81MR8vVu+jRTbwufQun+AuufQr5AlMPcQ1JOfCrMsICFZDIT8PMtKeik8Sas/SfSC2dJtdcov9cRVJ7F1UaWqAC0tBQ45KFXqZ/iUm//aerDUp99OoJ+o827W6pvUP7xq2AtLfhSA2ht+nDsgmABzd4pO+uBs9tfSBqr5CuEf8PZudRMiaoc30AAAAASUVORK5CYII=" />
                <text text="停止" textColor="white" textSize="10" gravity="center" />
            </vertical>
            <vertical id="return" bg="#000000" alpha="0.5" w="50" h="52" gravity="center" marginTop="20">
                <img w="30" h="30" layout_gravity="center" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAR4UlEQVR4Xu2dC/BuUxnGnzfpooQo3dBlJCoViiI5lUuEpIgkhRJdJCqiCylCpq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Iyyo+XEiAVR1wOxUh6RsVLK/jyIzPz1KmaQSqItaIIycUypQiQqgJmUq7Gd5L1zeymkduaQSoEkKS/3Vj4ClCAVNAttyIkPQ/XCTP8OsjMzhQgNaNH0tf7+LofNwFSU79cipP8BABPWjfJzjOzlWdiagapETmSo0wpAqSGbrkVJelHZ0zaKHWzmfnKihUmQGpGLyyM29nMltS8VMUzUYDkrEOYnm5m1wqQhgEjeZyZzbqXbVi7LkuhQFiS4jOJn7c4bu8wM0/0oRkkRTDURp4KkPQNc75xbtxW3kLrFivP2MmrRAqQPBTAx8aau83M/Cu8ZpBEcVAzGStA0vNuvWPMxSeY2a81g2QcOLmWToFFst3sa2ZLBUi6GKiljBUguQaAKxYcL36amR0pQDIOmlxLqwBJ/zbib7bcVjyoC5C0MVBrmStA8iQAbwOw4kFdgGQeMLmXXgGSPwDwLL/dEiDp9VeLmStA8mkArgNwoADJPFhyrxsFSL5pRaaTbppXq1IgfwVIni9A8o+TPOxIAT9YVIB0JL6aLUMBAVJGnORlRwoIkI6EV7NlKCBAyoiTvOxIAQHSkfBqtgwFBEgZcZKXHSkgQDoSXs2WoYAAKSNO8rIjBQRIR8Kr2TIUECBlxEledqSAAOlIeDVbhgICpIw4ycuOFPg/sYqk3qIb/x8AAAAASUVORK5CYII=" />
                <text text="返回" textColor="white" textSize="10" gravity="center" />
            </vertical>

        </vertical>


    );

    window1 = floaty.rawWindow(
        <vertical gravity="bottom">
            <text id="status" text="运行状态" textColor="white" bg="#DF04CD" alpha="0.8"
                w="*" h="*" gravity="center" />
        </vertical>

    );

    window.exitOnClose();
    window.setSize(300, 800);
    window.setPosition(device.width - 300 + 160, device.height / 2 - 400);
    window1.exitOnClose();
    window1.setTouchable(false);
    window1.setSize(device.width, device.height / 4);
    window1.setPosition(0, device.height - device.height / 4);
    //点击返回
    window.return.click(() => {
        app.launch("com.ruanjian0.tieba");
        engines.myEngine().forceStop();
    });
    //点击停止
    window.stop.click(() => {
        if (thread) {
            thread.interrupt();
        }
        window1.status.setText("已停止");
    });
    //点击开始
    window.start.click(() => {
        thread = threads.start(function () {

            var config = storage.get("config");
            while (true) {
                var interval = random(parseInt(config.interval1), parseInt(config.interval2));
                log(interval);
                var page = 1;
                var arr = [];
                do {

                    log("第" + page + "页开始");
                    sleep(1000);
                    顶帖(arr, config.content);
                    sleep(1000);
                    page++;
                } while (scrollDown());

                顶帖(arr, config.content);
                sleep(2000);
                back();
                sleep(2000);
                for (i = 0; i < interval; i++) {
                    ui.run(() => {
                        window1.status.setText((interval - i) + "秒后执行下一次顶帖操作.");
                    });
                    sleep(1000);
                }
            }
        });
    });

}

必须这样写才行.

threads.start(function () {
    createFloaty();
});

createFloaty();//这样写就卡死了

  

 

posted @ 2020-05-26 17:06  microWhite  阅读(2171)  评论(0编辑  收藏  举报