autojs - 自动下载播放mp3以保活
用处是有,但也不是太大.亲测.可能手机型号不一样有区别. 有的手机甚至不熄屏,都会关掉app.霸道的很. // 开启前台服务 $settings.setEnabled('foreground_service', true); // 播放无声音乐 threads.start(function () { ...
用处是有,但也不是太大.亲测.可能手机型号不一样有区别. 有的手机甚至不熄屏,都会关掉app.霸道的很. // 开启前台服务 $settings.setEnabled('foreground_service', true); // 播放无声音乐 threads.start(function () { ...
先上代码,少废话. //一键亮屏 device.wakeUp(); device.wakeUpIfNeeded(); sleep(1000); //滑开 swipe( device.width/2, device.height*0.8, device.width/2, device.height*0.1, 2000)...
废话不多说.上代码. wd = [ "6666666", "看着不错", "大家好", "主播声音挺好听啊", "不错,已回购", "已经拍了,速度发货啊", "已拍,主播速度发货", "确实可以,支持下", "送个小心心鼓励下", "味道不错,买过两次了" ]; ch = [ " "...
aardio - 【库】图形化的分页组件库 (自带分页) https://blog.csdn.net/sdlgq/article/details/125758087?spm=1001.2014.3001.5501 aardio - 利用customPlus库+plus构造一个多按钮组件 h...
直接代码。。 import win.ui; import fonts.fontAwesome; import gdip.pen; /*DSG{{*/ var winform = win.form(text="aardio form";right=759;bottom=469) winform.add( button=...
代码全复制过去,直接用即可。 import win.graphics; import color.table; tb = color.table(); myColorList = {}; for(i=1;#tb;1){ myColorList[[tb[i][1]]] = { tb[i][2];tb[i][3]; };...
简单的一句,指定了对齐方式,以及底部边距 ffmpeg -i input.mp4 -lavfi "subtitles=/path/to/the/subtitle.srt:force_style='Alignment=2,MarginV=5'" -y out.mp4 # 说明: # -i: 导入视频文件 # -vf subt...
aardio群里高手帮实现的 用于阿里云的语音合成,语音交互中,我是用来做文本转语音的。 比如,为视频添加字幕 配音。。 import console; import win.guid; import inet.url; import web.rest.jsonClient; import cr...
就是使用 writeBytes 了。取 body.bytes() var url = "https://pro.autojs.org/images/logo.png"; var res = http.get(url); ...
detectstring=function(hwnd,x1,x2,y1,y2){ import string.ocrLite; import string.ocrLite.defaultModels; import soImage; import soImage.directX; var sod...
直接上代码。写手机群控时用到的。可惜原生控件不让我改颜色。只能弃之不用了。 import win.ui; /*DSG{{*/ var winform = win.form(text=" 顺序列表 ";right=991;bottom=527) winform.add( button={c...
'ic_3d_rotation_black_48dp' 3D旋转 'ic_accessibility_black_48dp' 无障碍(人形体操标志) 'ic_accessible_black_48dp' 无障碍(轮椅) 'ic_account_balance_black_48dp' 简约房子 'ic_account_balance_wallet_bl...
奈何基础太薄弱...高手一句都嫌话多...二话不说给钱就是罗... 自己动手吧. 动态生成添加按钮后,直接普通绑定事件,各种失败(主要是没参数) 如 btn.click( function(){ alert( btn.getText() ); } ); ...
研究了一整天之后,得到的结果 getTimeBySecond = function( num ){ second = num % 60; //剩余秒数 minute = math.round( (num/60) % 60 ); //剩余分钟 hour = math.round( ((num/60)/60)...
速查自用.. // device 设备信息 a = device.height; //高度 console.log('设备高度是:'+a); b = device.width; //宽度 console.log('设备宽度是:',b ); build = device.buildId; //修订版本号 cons...