摘要:
当用WIFI连接到CMCC即便没有认证登录也会显示己连接; 环境: AutoHotkey 1.1.05.01 Unicode, Windows XP#NoEnvahkcs := "http://www.baidu.com"MsgBox, % "上网方式: " W_InternetGetConnectedState() "`n连接状态: " W_IsNetworkAlive() "`n"MsgBox, % W_InternetCheckConnection(ahkcs) ? "成功连接到 baidu.com 阅读全文
摘要:
strComputer := "."objWMIService := ComObjGet("winmgmts:\\" strComputer "\root\wmi")colMonitoredEvents := objWMIService.ExecNotificationQuery("Select * from MSNdis_StatusMediaDisconnect") Loop{ strLatestEvent := colMonitoredEvents.NextEvent MsgBox, % "有一个网 阅读全文