#include <Date.au3> #include <IE.au3> MsgBox(64, "通知 -by liyi", "5秒钟后登陆邮箱:xxxxxx@sina.com", 5) $oIE = _IECreate ("http://mail.sina.com") sleep(2000) $oForm = _IEFormGetObjByName ($oIE, "free") $oQuery = _IEFormElementGetObjByName ($oForm, "username") _IEFormElementSetValue ($oQuery, "xxxxxx") $oQuery = _IEFormElementGetObjByName ($oForm, "password") _IEFormElementSetValue ($oQuery, "password") $oQuery = _IEFormElementGetObjByName ($oForm, "btnloginfree") _IEAction($oQuery ,"click") sleep(2000) _IEAction ($oIE, "visible") MsgBox(64, "通知 -by liyi", "25秒钟后退出邮箱", 25) _IELinkClickByText ($oIE,"安全退出") MsgBox(64, "通知 -by liyi", "5秒钟后关闭IE", 5) _IEQuit ($oIE)
使用AutoIt自动登录sina新浪网页邮箱的代码
最新推荐文章于 2021-06-09 20:00:15 发布