网页快捕就能搞定的
#include <IE.au3>
#include <IEQuery.au3>
$oIE = _IECreate("http://post.58.com/606/14455/s5", 1, 1, 0)
_IELoadWait($oIE)
$Ele = _IEGetObjById($oIE,"Title")
_IEFormElementSetValue($Ele,"coolybin标题太过简单")
$Ele = _IEGetObjById($oIE,"ObjectType")
_IEFormElementOptionSelect($Ele,1,1,"byIndex")
$Ele = _IEGetObjById($oIE,"cbx_fuwuleixing_0")
_IEAction($Ele,"click")
$Ele = _IEGetObjById($oIE,"kechengsc")
_IEFormElementOptionSelect($Ele,1,1,"byIndex")
$Ele = _IEGetObjById($oIE,"localArea")
_IEFormElementOptionSelect($Ele,1,1,"byIndex")
$Ele = _IEGetObjById($oIE,"localDiduan")
_IEFormElementOptionSelect($Ele,1,1,"byIndex")
$Ele = _IEGetObjById($oIE,"dizhi")
_IEFormElementSetValue($Ele,"输入的新值")
$Ele = _IEGetObjById($oIE,"div_htmleditor")
_IEFormElementSetValue($Ele,"输入的新值")
$Ele = _IEQuery($oIE,"DIV",'class="editor"')
_IEDocInsertText($Ele, "coolybin发布的信息", "afterbegin")
$Ele = _IEGetObjById($oIE,"goblianxiren")
_IEFormElementSetValue($Ele,"输入的新值")
$Ele = _IEGetObjById($oIE,"Phone")
_IEFormElementSetValue($Ele,"13813881388")
;登录信息
_IELinkClickByIndex($oIE, 8)
$Ele = _IEGetObjById($oIE,"tbxLoginUid")
_IEFormElementSetValue($Ele,"输入的新值")
$Ele = _IEGetObjById($oIE,"tbxLoginPwd")
_IEFormElementSetValue($Ele,"coolybin")
;注册用下面的
#CS
$Ele = _IEGetObjById($oIE,"tbxRegUid")
_IEFormElementSetValue($Ele,"输入的新值")
$Ele = _IEGetObjById($oIE,"tbxRegEmail")
_IEFormElementSetValue($Ele,"coolybin@qq.com")
$Ele = _IEGetObjById($oIE,"tbxRegPwd")
_IEFormElementSetValue($Ele,"coolybin")
#CE
$Ele = _IEGetObjById($oIE,"fabu")
_IEAction($Ele,"click")
|