分享

自动建立宽带连接 AU3源码

 老D的安乐椅 2013-08-03
自动建立宽带连接 AU3源码  

2010-03-14 16:14:16|  分类: 默认分类 |字号 订阅
#Region --- CodeWizard generated code Start ---
;MsgBox features: Title=Yes, Text=Yes, Buttons=Yes and No, Icon=None
If Not IsDeclared("iMsgBoxAnswer") Then Local $iMsgBoxAnswer
$iMsgBoxAnswer = MsgBox(4,"温馨提示"," 这是一款自动创建宽带拨号连接的实用小工具,推荐用宽带上网的朋友安装。 ")
Select
Case $iMsgBoxAnswer = 6 ;Yes
run("RUNDLL32 netshell.dll,StartNCW")
TrayTip(""," 正在自动建立宽带连接 鼠键已禁用 ",5)
BlockInput(1)
winwaitactive("新建连接向导","新建连接向导")
winactivate("新建连接向导","新建连接向导")
send("!N")
winwaitactive("新建连接向导","连接到 Internet(&C)")
winactivate("新建连接向导","连接到 Internet(&C)")
send("!N")
winwaitactive("新建连接向导","从 Internet 服务提供商(ISP)列表选择(&L)")
winactivate("新建连接向导","从 Internet 服务提供商(ISP)列表选择(&L)")
send("!M")
send("!N")
winwaitactive("新建连接向导","新建连接向导")
winactivate("新建连接向导","新建连接向导")
send("!U")
send("!N")
winwaitactive("新建连接向导","在下面框中输入您的 ISP 的名称")
winactivate("新建连接向导","在下面框中输入您的 ISP 的名称")
send(Eval("adsl"))
send("!N")
send("!N")
winwaitactive("新建连接向导","正在完成新建连接向导")
winactivate("新建连接向导","正在完成新建连接向导")
send("!S")
send("{ENTER}")
Exit
BlockInput(0)

Case $iMsgBoxAnswer = 7 ;No

EndSelect
#EndRegion --- CodeWizard generated code End ---

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多