找回密码
 加入
搜索
查看: 2030|回复: 4

[系统综合] 谁能把这个VBS 转成AU3

[复制链接]
发表于 2010-11-19 08:53:49 | 显示全部楼层 |阅读模式
谁能把这个VBS 转成AU3

set Ws = WScript.CreateObject("WScript.Shell")
count=0
for each ps in getobject("winmgmts:\\.\root\cimv2:win32_process").instances_
if ps.name="wscript.exe" then count=count+1
next
if count > 2 then wscript.quit
i=1
for i = 1 to 3
i=i-1
WScript.Sleep(1000*60*0.1)
ws.run "arp -d",0
ws.run "arp -s 192.168.0.200 00-07-e9-33-96-a5",0
next
发表于 2010-11-19 10:19:28 | 显示全部楼层
看不大懂VBS…… 还不如直接说你要的效果……
重新写一个来的好……
这个程序看上去好像是每6秒循环绑定ARP而已...
发表于 2010-11-19 16:14:32 | 显示全部楼层
执行3次吧,6秒执行一次
发表于 2010-11-20 10:25:48 | 显示全部楼层
楼主直接说你的VBS实现的功能,Au3肯定能做到。
发表于 2010-11-20 10:28:21 | 显示全部楼层
VBS只看过一点点,你直接说效果,明白点.
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-12 18:13 , Processed in 0.080253 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表