1.新建一個文本文件 復制代碼 到文本文件里面
代碼分為倆種
①帶數字的提示的
set wshshell=wscript.createobject("wscript.shell")
wshshell.AppActivate"要發送的人的名字"
for i=1 to 100 //循環次數
wscript.sleep 100 //間隔時間,單位毫秒
wshshell.sendKeys "^v"
wshshell.sendKeys i
wshshell.sendKeys "%s"
next
②不帶數字的提示的
set wshshell=wscript.createobject("wscript.shell")
wshshell.AppActivate"要發送的人的名字"
for i=1 to 100
wscript.sleep 100
wshshell.sendKeys "^v"
wshshell.sendKeys "%s"
next
2.關閉文本 保存 改名 txt改成vbs 保存
3.復制要發送的內容
4.打開微信聊天界面
5.雙擊vbs文件 延遲1秒左右就會看到你發送的消息了
