All Projects → cluic → wxauto

cluic / wxauto

Licence: MIT License
Windows版本微信客户端(非网页版)自动化,可实现简单的发送、接收微信消息,持续更新中

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to wxauto

Wxread Webautoreader
微信读书自动阅读器,全自动刷阅读时长,轻轻松松冲顶霸榜,您的微读挂机好帮手
Stars: ✭ 138 (+91.67%)
Mutual labels:  automatic, weixin
safe-string-interpolation
A type driven approach to string interpolation, aiming at consistent, secure, and only-human-readable logs and console outputs !
Stars: ✭ 14 (-80.56%)
Mutual labels:  automatic
CSWeiXin
C#版微信
Stars: ✭ 16 (-77.78%)
Mutual labels:  weixin
jeecg-uniapp
JEECG BOOT APP 移动解决方案,采用uniapp框架,一份代码多终端适配,同时支持APP、小程序、H5!实现了与JeecgBoot平台完美对接的移动解决方案!目前已经实现登录、用户信息、通讯录、公告、移动首页、九宫格等基础功能。
Stars: ✭ 580 (+705.56%)
Mutual labels:  weixin
some-demo
some demo
Stars: ✭ 33 (-54.17%)
Mutual labels:  weixin
cordova-plugin-apkupdater
This plugin allows your Android app to download and install compressed updates without the Google Play Store.
Stars: ✭ 46 (-36.11%)
Mutual labels:  automatic
public
util toolkit for go.golang 通用函数包
Stars: ✭ 135 (+87.5%)
Mutual labels:  weixin
bot
Completely free and open-source human-like Instagram bot. Powered by UIAutomator2 and compatible with basically any Android device 5.0+ that can run Instagram - real or emulated.
Stars: ✭ 321 (+345.83%)
Mutual labels:  automatic
xing-weapp-editor
开箱即用的微信小程序图文编辑组件
Stars: ✭ 101 (+40.28%)
Mutual labels:  weixin
RGBDCameraExtrinsicCalibration
RGB-D extrinsic parameter automatic calibration based on plane detection
Stars: ✭ 32 (-55.56%)
Mutual labels:  automatic
xchat
flutter实现微信7.0 UI
Stars: ✭ 13 (-81.94%)
Mutual labels:  weixin
botcity-framework-core-python
BotCity Framework - Python
Stars: ✭ 28 (-61.11%)
Mutual labels:  rpa
atool-weixin
在线工具(atool-org)微信公众号代码
Stars: ✭ 18 (-75%)
Mutual labels:  weixin
beautiful-capi
Beautiful Capi is a tool which automates the creation of compiler-independent and binary compatible C++ libraries across different C++ compilers
Stars: ✭ 31 (-56.94%)
Mutual labels:  automatic
ruledesigner
Rule Designer is the Eclipse-based development environment for ODM developers.
Stars: ✭ 14 (-80.56%)
Mutual labels:  rpa
qyweixin
微信企业号接口 (http://qy.weixin.qq.com)
Stars: ✭ 16 (-77.78%)
Mutual labels:  weixin
WeChat Sport
iOS版微信运动插件源码
Stars: ✭ 74 (+2.78%)
Mutual labels:  weixin
omflow
form base and IT automation workflow engine.
Stars: ✭ 14 (-80.56%)
Mutual labels:  rpa
wxbizdatacrypt
微信小程序加密数据解密算法Go版
Stars: ✭ 132 (+83.33%)
Mutual labels:  weixin
AutoScrollTextView
android 上下滚动播放与走马灯效果结合
Stars: ✭ 27 (-62.5%)
Mutual labels:  automatic

wxauto

Wechat Python

Windows版本微信客户端自动化,可实现简单的发送、接收微信消息,开发中

开发过程使用的微信版本:3.3.5

部分版本的微信可能由于UI界面不同从而无法使用,截至2021-09-05最新版本可用

安装

pip install wxauto

示例

请先登录PC微信客户端

from wxauto import *


# 获取当前微信客户端
wx = WeChat()


# 获取会话列表
wx.GetSessionList()


# 输出当前聊天窗口聊天消息
msgs = wx.GetAllMessage
for msg in msgs:
    print('%s : %s'%(msg[0], msg[1]))
## 获取更多聊天记录
wx.LoadMoreMessage()
msgs = wx.GetAllMessage
for msg in msgs:
    print('%s : %s'%(msg[0], msg[1]))


# 向某人发送消息(以`文件传输助手`为例)
msg = '你好~'
who = '文件传输助手'
wx.ChatWith(who)  # 打开`文件传输助手`聊天窗口
wx.SendMsg(msg)  # 向`文件传输助手`发送消息:你好~


# 向某人发送文件(以`文件传输助手`为例,发送三个不同类型文件)
file1 = 'D:/test/wxauto.py'
file2 = 'D:/test/pic.png'
file3 = 'D:/test/files.rar'
who = '文件传输助手'
wx.ChatWith(who)  # 打开`文件传输助手`聊天窗口
wx.SendFiles(file1, file2, file3)  # 向`文件传输助手`发送上述三个文件
# 注:为保证发送文件稳定性,首次发送文件可能花费时间较长,后续调用会缩短发送时间


# 向某人发送程序截图(以`文件传输助手`为例,发送微信截图)
name = '微信'
classname = 'WeChatMainWndForPC'
wx.ChatWith(who)  # 打开`文件传输助手`聊天窗口
wx.SendScreenshot(name, classname)  # 发送微信窗口的截图给文件传输助手

注:为保证发送文件稳定性,首次发送文件可能花费时间较长,后续调用会缩短发送时间

注意事项

目前还在开发中,测试案例较少,使用过程中可能遇到各种Bug

如果遇到问题或者有新的想法,希望您可以通过以下两种方式联系我进行改进:

最后

如果对您有帮助,希望可以帮忙点个Star,如果您正在使用这个项目,可以将右上角的 Unwatch 点为 Watching,以便在我更新或修复某些 Bug 后即使收到反馈,感谢您的支持,非常感谢!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].