最新熱門腳本Autojs源碼分享
今天給大家分享一個包含最新50個熱門腳本合集的源碼,目前包括:礦牛守衛(wèi)賺、熱血星際、捉妖特工隊、體重保衛(wèi)戰(zhàn)、炎兔、魔獸紅包群、橫掃太空、瘋狂合體鴨、動物星球、猜猜什么歌等最熱門的腳本源碼,源碼可以直接運行。學完直接可以開擼代碼,成為大神。
需要源碼的可以從此處下載哦,非常不錯的autojs源碼。
http://xiazai.jb51.net/202105/yuanma/autojsym_jb51.rar
再給大家補充幾個不錯的腳本源碼 點擊下載
部分源碼截圖:
部分源碼截取:
function 判斷() { while (true) { try { if (text("取消").findOnce()) { toastLog("等待10秒") sleep(1000) text("取消").findOnce().click() sleep(1500) } else if (text("禁止").findOnce()) { toastLog("等待10秒") sleep(1000) text("禁止").findOnce().click() sleep(1500) } else if (!packageName("com.aries.ttqs.mz").findOnce()) { sleep(8000) if (!packageName("com.aries.ttqs.mz").findOnce()) { app.launch("com.aries.ttqs.mz") sleep(6000) } } else if (id("tt_titlebar_back").findOnce()) { back() sleep(1000) } else if (className("android.view.View").boundsInside(0, 0, device.width * 0.2, device.height * 0.15).findOnce()) { toastLog("☜") back() sleep(5000) } else if (text("關閉").findOnce()) { var 坐標 = text("關閉").findOnce(); click(坐標.bounds().centerX(), 坐標.bounds().centerY()); sleep(1000) } else if(腳本包名.findOnce()){ sleep(5000) }else if(視頻特征2.findOnce()){ toastLog("^O^2") sleep(1000) }else if(視頻特征.findOnce()){ toastLog("^O^1") sleep(1000) }else if (id("content").findOnce()&&className("android.widget.FrameLayout").depth("5").boundsInside(0, device.height*0.86, device.width, device.height).findOnce()&&!className("android.widget.ImageView").boundsInside(0, 0, device.width, device.height *0.3).findOnce()&&!className("android.view.View").boundsInside(0, 0, device.width, device.height *0.3).findOnce()) { toastLog("第三界面操作") 第三界面() sleep(1000) break; }else if (id("content").findOnce()&&className("android.widget.FrameLayout").depth("5").findOnce()&&!className("android.widget.FrameLayout").depth("5").boundsInside(0, device.height*0.86, device.width, device.height).findOnce()&&!className("android.widget.ImageView").boundsInside(0, 0, device.width, device.height *0.3).findOnce()&&!className("android.view.View").boundsInside(0, 0, device.width, device.height *0.3).findOnce()) { toastLog("第二界面操作") 第二界面() sleep(1000) break; }else if (id("content").findOnce()&&!className("android.widget.FrameLayout").depth("5").findOnce()&&!className("android.widget.ImageView").boundsInside(0, 0, device.width, device.height *0.3).findOnce()&&!className("android.view.View").boundsInside(0, 0, device.width, device.height *0.3).findOnce()) { toastLog("主界面操作") 主界面() sleep(1000) break; } } catch (a) { continue; } } }
以上就是最新熱門腳本Autojs源碼分享的詳細內(nèi)容,更多關于Autojs源碼的資料請關注腳本之家其它相關文章!
相關文章
JavaScript獲取鼠標移動時的坐標(兼容IE8、chome谷歌、Firefox)
這篇文章主要介紹了JavaScript獲取鼠標移動時的坐標(兼容IE8、chome谷歌、Firefox瀏覽器),需要的朋友可以參考下2014-09-09JavaScrpt中如何使用 cookie 設置查看與刪除功能
這篇文章主要介紹了JavaScrpt中使用 cookie 設置查看與刪除功能的方法,文中通過實例代碼給大家介紹了js cookie常用的3個預設函數(shù)庫,需要的朋友可以參考下2017-07-07