美文网首页
VBS脚本自动发送微博

VBS脚本自动发送微博

作者: nonoBoy | 来源:发表于2016-09-19 14:15 被阅读97次

打开txt,写入以下VBS代码:

Set wshshell=CreateObject("wscript.shell")

WScript.Sleep 5000

Counter = 0

Do While Counter < 3

Counter = Counter + 1

wshshell.SendKeys "n"

WScript.Sleep 1000

wshshell.appactivate("Anything new that want to share?")

wscript.sleep 1000

wshshell.sendkeys "^v"  '在这里复制好你想要粘贴的代码就Ok啦 想发布什么就发布什么

wscript.sleep 2000

wshshell.sendkeys "^{ENTER}"

Loop

运行,切换至微博窗口即可。

相关文章

网友评论

      本文标题:VBS脚本自动发送微博

      本文链接:https://www.haomeiwen.com/subject/dpcnettx.html