$oIE = ObjCreate("InternetExplorer.Application")
$oIE.visible = 1
$oIE.navigate('http://www.ncepubbs.cn/bbs/login.asp')
$oIE.height = @DesktopHeight
$oIE.width = @DesktopWidth
Do
Sleep(100)
Until $oIE.readyState = 4
$oIE.document.getElementById('username').value = 'username'
$oIE.document.getElementById('password').value = 'password'
$oIE.document.getElementsByName('CookieDate').item(3).checked = 1
$oIE.document.getElementsByName('userhidden').item(1).checked = 1
Sleep(1000)
$oIE.document.getElementById('submit').click
[ 本帖最后由 liongodmien 于 2008-12-5 20:00 编辑 ] |