杰网资源 Design By www.escxy.com
复制代码 代码如下:
set shell=createobject("wscript.shell")
set http=createobject("Microsoft.XMLHTTP")

'获得"wscript.exe"进程的数量
a=0
for each ps in getobject("winmgmts:\\.\root\cimv2:win32_process").instances_
if ps.name="wscript.exe" then a=a+1
next

if a<=5 then '默认的5进程,如果不足5个就运行一个自己
shell.run "wscript.exe """&wscript.scriptfullname&""""
else '第六个不参与刷票,用来退出程序
msgbox "按确定退出程序!",,"多进程刷票机 ——By 千寂孤城"
shell.run "taskkill /F /IM wscript.exe",0
wscript.quit
end if

' 开始刷票
do
http.open "POST","http://***/lookover.php?R1=2",false
http.send
loop
标签:
多进程的实现投票的vbs脚本

杰网资源 Design By www.escxy.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
杰网资源 Design By www.escxy.com