wechat-sender
Installation
SKILL.md
WeChat Desktop Message Sender
Automate sending messages through the WeChat (微信) desktop client on Windows using PowerShell + Win32 API automation.
Prerequisites
- Windows OS with PowerShell
- WeChat desktop client (
Weixin.exe) running and logged in - The target contact must exist in the user's WeChat (by nickname, remark name, or WeChat ID)
How It Works
The skill uses a three-stage automation approach:
Stage 1: Activate WeChat Window
- Find the
Weixinprocess and get its main window handle - Bring the window to foreground using
ShowWindow+SetForegroundWindow(Win32 API) - Wait for the window to fully activate