Swipe 多点滑动

命令名称: jsd.Swipe 多点滑动 语法格式: jsd.Swipe(100, 100, 200, 200, 300, 300, 400, 400, 500, 500, 50) 命令参数: 参数格式1:数值型,x1,y1,x2,y2[,x3,y3,x4,y4,x5,y5...],step,坐标越多,轨迹越明显 参数格式2:数组型,Array(x1,y1,x2,y2,x3,y3,x4,y4,x5,y5[,step]),最少四个元素,支持传入step 参数格式3:数组+step,Array(x1,y1,x2,y2,x3,y3,x4,y4,x5,y5)[,step] step:可选,数值型,数字越大,滑动越慢 返回值: 无。 ```脚本例子: 复制代码 Import "jsd.luae" Import "shanhai.lua" ShanHai.execute "chmod -R 777 " & GetTempDir() If Dir.Exist(GetTempDir() & "jsd.apk") = 0 Then TracePrint "释放附件" PutAttachment GetTempDir(),"jsd.apk" End If //只需执行一次 If jsd.StartServer() Then TracePrint "恭喜你!!可以使用插件" Else TracePrint "很遗憾!!!你无法使用插件" End If //调试时建议开启指针 jsd.Swipe (100, 100, 200, 200, 300, 300, 400, 400, 500, 500, 10) ``` 备注: 无。