本帖最后由 cxlater 于 2016-10-7 22:07 编辑
#AccAu3Wrapper_UseX64=n ;是否编译为64位程序(y/n)
#NoTrayIcon
#include<IE.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Form1", 859, 548, 192, 114)
$oie = _IECreateEmbedded()
GUICtrlCreateObj($oIE, 0, 0, 857, 545)
GUISetState(@SW_SHOW)
_IENavigate($oie ,"https://yunpan.360.cn/")
$user = _IEGetObjByName($oie ,"account")
$pass = _IEGetObjByName($oie ,"password")
$loginbtn = _IETagNameGetCollection($oie ,"input" ,4)
$user.value = "testname"
$pass.value = "testpass"
$loginbtn.click
Do
Sleep(50)
Until GUIGetMsg() = $GUI_EVENT_CLOSE
|