1 Star 0 Fork 0

第三方资源/wxauto

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
demo.py 374 Bytes
一键复制 编辑 原始数据 按行查看 历史
Winnifred Boehm 提交于 2023-11-23 14:41 . Update demo.py
from wxauto import WeChat
wx = WeChat()
# 发送消息
who = '文件传输助手'
for i in range(3):
wx.SendMsg(f'wxauto测试{i+1}', who)
# 获取当前聊天页面(文件传输助手)消息,并自动保存聊天图片
msgs = wx.GetAllMessage(savepic=True)
for msg in msgs:
print(f"{msg[0]}: {msg[1]}")
print('wxauto测试完成!')
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/jerry-3rd/wxauto.git
git@gitee.com:jerry-3rd/wxauto.git
jerry-3rd
wxauto
wxauto
WeChat3.9.11

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385