零动AS插件提示包
Project description
- 每个API都配有中文、英文两种使用方法,开发者可根据自己喜好随意选择
- 每个API都配备了详细的开发文档以及视频形式的讲解,以确保开发者可以完全学会使用
- 除插件的开发文档外,我们集成了常用工具、公开课、AS-FAQ等多项功能,让开发者从此告别东拼西凑 文档地址:https://www.yuque.com/xianle-skqwj/ld
升级日志:
1.1.6
- 新增找图/找色/找字支持屏幕区域,以下以找图为例:
elements = {
"任务1": {
"找图_游戏中心": ImageQuery().find().img("yxzx.png").rect_center()
},
}
# 以上的rect_center()代表找屏幕中心位置,除此之外还支持
# rect_left_top() - 获取右上角范围
# rect_left_top() - 获取左上角范围
# rect_left_bottom() - 获取左下角范围
# rect_right_bottom() - 获取右下角范围
# rect_half_left() - 获取左半屏范围
# rect_half_right() - 获取右半屏范围
# rect_half_top() - 获取上半屏范围
# rect_half_bottom() - 获取下半屏范围
1.1.5
- 新增统计运行时间日志
# 只需要设置系统日志级别即可
ld.日志_设置级别(LogLevel.INFO)
- 新增随机延迟函数
ld.随机_延迟(second, float_tame)
- 新增设备相关函数
ld.获取_设备ID()
ld.获取_设备名称()
ld.获取_设备屏幕信息()
ld.获取_设备品牌()
ld.获取_设备型号()
ld.获取_设备SDK()
ld.获取_设备IP()
ld.获取_当前运行APP信息()
ld.获取_所有安装APP()
ld.获取_当前电量()
ld.获取_设备内存()
1.1.4
- 新增找图函数可以增加多图片
elements = {
"测试任务": {
"多图测试": ImageQuery().find_template().img("小工具-谷歌安装器.png", "小工具-RE文件管理器.png",
"小工具-主题装扮.png"),
}
}
- 新增字符串函数可以统计字符出现个数
print(文本.字符出现次数("abcabcabc", "ab"))
升级方法
1.AS当中引用代码为:
plug.load("ld:1.1.4")
2.更新提示包插件:
pip install --upgrade ld-as-framework
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ld_as_framework-1.1.6.tar.gz
(16.2 kB
view details)
Built Distribution
File details
Details for the file ld_as_framework-1.1.6.tar.gz
.
File metadata
- Download URL: ld_as_framework-1.1.6.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e78d1c74d9d8176d7cafd5ae58442e8f5cb61aa1ab706ba41adf9818fe9128cb |
|
MD5 | 8c8d681c52a1e4f874b8138f547c491f |
|
BLAKE2b-256 | 5c496abc37b54a2feacfb2b3f64d2e1351e7200e8cec33683caca7b650bad4ef |
File details
Details for the file ld_as_framework-1.1.6-py3-none-any.whl
.
File metadata
- Download URL: ld_as_framework-1.1.6-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c69ff4d2a1453520687044370bffd3ef0096fcc0af488e7f72b39fb93be5c974 |
|
MD5 | 6e4887bbeb3e50db8d7de8ed73dbace8 |
|
BLAKE2b-256 | 9358f159adac519b3beae745d705f0b1408c2b5638b882d0669d134e3c1fd0e6 |