请问鼠标移动与点击问题!
#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命令总是不行! 就是在
#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","欢迎访问 百度")
这一段是打开了IE了,创建了一个800*600的窗口,并打开了百度这个网站!
但是我要在这里面的窗口中随便哪个位置鼠标单击应该如何??哪位兄弟麻烦讲讲!
谢谢!
$oForm = _IEFormGetObjByName ($oIE, "f")
$oQuery1 = _IEFormElementGetObjByName ($oForm, "q")
_IEFormElementSetValue ($oQuery1, "与 autoit3 亲密接触")
_IEFormSubmit ($oForm,1)
_IEAction ($oIE, "visible")
Sleep(5000)
_IEAction ($oIE, "quit") MouseClick("left")
页:
[1]