本帖最后由 sky 于 2013-11-17 00:50 编辑 #include <IE.au3>
$oIE = _IECreate ("http://www.aaa.com/post")
$oForm = _IEFormGetCollection ($oIE, 0)
$oQuery = _IEFormElementGetObjByName ($oForm, "subject")
_IEFormElementSetValue ($oQuery, "aaaaaa");主题
$oForm = _IEFormGetCollection ($oIE, 0)
$oQuery = _IEFormElementGetObjByName ($oForm, "username")
_IEFormElementSetValue ($oQuery, "22222");用户名
_IEFormSubmit ($oForm)
Sleep(15000)
ProcessClose("iexplorer.exe")
$oIE = _IECreate ("http://www.bbb.com/post")
$oForm = _IEFormGetCollection ($oIE, 0)
$oQuery = _IEFormElementGetObjByName ($oForm, "subject")
_IEFormElementSetValue ($oQuery, "aaaaaa");主题
$oForm = _IEFormGetCollection ($oIE, 0)
$oQuery = _IEFormElementGetObjByName ($oForm, "username")
_IEFormElementSetValue ($oQuery, "22222");用户名
_IEFormSubmit ($oForm)
Sleep(15000)
ProcessClose("iexplorer.exe")
$oIE = _IECreate ("http://www.ccc.com/post")
$oForm = _IEFormGetCollection ($oIE, 0)
$oQuery = _IEFormElementGetObjByName ($oForm, "subject")
_IEFormElementSetValue ($oQuery, "aaaaaa");主题
$oForm = _IEFormGetCollection ($oIE, 0)
$oQuery = _IEFormElementGetObjByName ($oForm, "username")
_IEFormElementSetValue ($oQuery, "22222");用户名
_IEFormSubmit ($oForm)
Sleep(15000)
ProcessClose("iexplorer.exe")
如上代码,请问高手,如何把那些网址弄到txt文本逐行读取。那可是200多个网址啊。 |