2020淘寶618理想生活列車自動領(lǐng)喵幣js腳本的代碼
自動收喵幣
腳本
//by 丈二 //auto.waitFor(); var height = device.height; var width = device.width; var my_taobao = desc("我的淘寶"); var task_door = desc("瓜分10億"); var task_list = text("做任務(wù),領(lǐng)喵幣"); function appRun() { var version = device.release; toast("分辨率:"+width+"*"+height+"\n\n安卓"+version); sleep(3000); launchApp("手機淘寶"); toast("打開手機淘寶中..."); sleep(3000); } function swipeChange(move_length,duration,sleep_time) { swipe(width / 2 , height - move_length , width / 2,0,duration); sleep(sleep_time); } function for_jump() { if(my_taobao.exists()) { my_taobao.click(); sleep(2000); } if(task_door.exists()) { task_door.click(); sleep(8000); } if(task_list.exists()) { task_list.click(); sleep(2000); } } function autoSwipe_Another(button_text) { textContains(button_text).findOne().click(); sleep(1000); toast("完成"+"["+button_text+"]"+"任務(wù)"); sleep(1000); } function autoSwipe(button_text) { while(textContains(button_text).exists()) { if(button_text=="去兌換") { autoSwipe_Another(button_text); continue; } toast(button_text + "正在進行"); textContains(button_text).findOne().click(); swipeChange(600,500,1000); swipeChange(1000,1500,1000); swipeChange(1500,1500,5000); swipeChange(800,1000,6000); swipeChange(600,500,4000); swipeChange(1000,1500,1000); if(textContains("完成").exists()) { sleep(1000); back(); for_jump(); } else { sleep(4000); back(); for_jump(); }//總共21s sleep(3000); } toast("完成"+"["+button_text+"]"+"任務(wù)"); sleep(2500); } function autoFinish() { if(text("簽到").exists()) { text("簽到").findOne().click(); sleep(2000); toast("簽到成功"); } sleep(2000); toast("完成[簽到]任務(wù)"); autoSwipe("去瀏覽"); autoSwipe("去搜索"); autoSwipe("去圍觀"); autoSwipe("去兌換"); toast("結(jié)束"); } function getTask() { if(my_taobao.exists()) { toast("打開我的淘寶"); my_taobao.click(); sleep(2000); } if(task_door.exists()) { toast("正跳轉(zhuǎn)到任務(wù)界面..."); task_door.click(); sleep(8000); } if(task_list.exists()) { toast("正在打開任務(wù)列表"); task_list.click(); sleep(2000); } autoFinish(); } function main() { appRun(); getTask(); } main()
使用教程(測試安卓手機可用)
第一步安裝 auto.js
http://chabaoo.cn/softs/727927.html
第二步錄入腳本
1. 先復(fù)制腳本
2. 打開auto.js軟件
3. 先開啟點擊左上角的三條杠,打開無障礙模式(很重要)
4. 點擊右下角的“+”圖標
5. 選擇文件,名稱自行命令(沒有限制),點擊確定
6. 將腳本粘貼,點擊右上角保存,點擊運行
溫馨提示:盡量選擇網(wǎng)絡(luò)狀態(tài)使用效果更佳
總結(jié)
到此這篇關(guān)于2020淘寶618理想生活列車自動領(lǐng)喵幣auto.js腳本的教程的文章就介紹到這了,更多相關(guān)淘寶618自動領(lǐng)喵幣內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!
相關(guān)文章
深入理解Javascript中的valueOf與toString
javascript中所有數(shù)據(jù)類型都擁有valueOf和toString這兩個方法,null除外。它們倆解決javascript值運算與顯示的問題,本文將詳細介紹,有需要的朋友可以參考下2017-01-01javascript獲取元素文本內(nèi)容的通用函數(shù)
獲取元素文本內(nèi)容的通用函數(shù),思路很好值得參考。2009-12-12JavaScript實現(xiàn)網(wǎng)頁跨年倒計時
這篇文章主要為大家詳細介紹了JavaScript實現(xiàn)網(wǎng)頁跨年倒計時,文中示例代碼介紹的非常詳細,具有一定的參考價值,感興趣的小伙伴們可以參考一下2020-12-12微信小程序自定義select下拉選項框組件的實現(xiàn)代碼
微信小程序中沒有select下拉選項框,所以只有自定義。這篇文章主要介紹了微信小程序自定義select下拉選項框組件,需要的朋友可以參考下2018-08-08