#include <IE.au3>
$oIE = _IECreate ("www.baidu.com",0,0,1,0)
_IEPropertySet ($oIE, "toolbar", 0)
_IEPropertySet ($oIE, "width", 800)
_IEPropertySet ($oIE, "height", 600)
_IEPropertySet ($oIE, "resizable", 0)
_IEPropertySet ($oIE, "title","我打开的百度,我做主")
_IEPropertySet ($oIE, "statustext","欢迎访问 百度")
$oForm = _IEFormGetObjByName ($oIE, "f")
$oQuery1 = _IEFormElementGetObjByName ($oForm, "q")
_IEFormElementSetValue ($oQuery1, "与 autoit3 亲密接触")
_IEFormSubmit ($oForm,1)
_IEAction ($oIE, "visible")
Sleep(5000)
_IEAction ($oIE, "quit")
我想在打开IE之后鼠标在里面点击下!应该如何加代码!
使用ControlClick命令总是不行! |