#include <IE.au3>
$oIE = _IECreate ("https://login.yahoo.com/config/mail?.intl=tw") ;Yahoo 信箱位址
$o_form = _IEFormGetObjByName ($oIE, "login_form") ;表單名稱
$o_login = _IEFormElementGetObjByName ($o_form, "username")
$o_password = _IEFormElementGetObjByName ($o_form, "passwd")
$o_signin = _IEFormElementGetObjByName ($o_form, ".save")
$username = "個人帳號"
$password = "個人密碼"
_IEFormElementSetValue ($o_login, $username) ;輸入帳號
_IEFormElementSetValue ($o_password, $password) ;輸入密碼
_IEAction ($o_signin, "click") ;點擊登入
沒有留言:
張貼留言