lele9013 发表于 2012-3-1 22:13:16

ie.au3 对 ie9 不兼容吗??

#include <IE.au3>
$oIE = _IECreate ("www.baidu.com");打开一个ie,输入百度网址
_IEPropertySet ($oIE, "toolbar", 0)
_IEPropertySet ($oIE, "width", 800)
_IEPropertySet ($oIE, "height", 600)
_IEPropertySet ($oIE, "resizable", 0)
_IEPropertySet ($oIE, "title","我打开的百度,我做 主")
_IEPropertySet ($oIE, "statustext","欢迎访问 与 autoit3 亲密接触 hi.baidu.com/iokey")
$oForm = _IEFormGetObjByName ($oIE, "f")
$oQuery1 = _IEFormElementGetObjByName ($oForm, "wd")
_IEFormElementSetValue ($oQuery1, "与 autoit3 亲密接触")
_IEFormSubmit ($oForm,1)
_IEAction ($oIE, "visible")
Sleep(5000)
MsgBox(0,"提醒","确定退出IE")
_IEAction ($oIE, "quit")

这段代码在ie9内无效

netegg 发表于 2012-3-2 00:59:47

本帖最后由 netegg 于 2012-3-2 01:02 编辑

对,多数会有问题,偶尔能凑合上,还得看运气
没开玩笑,英文网站那些大牛也在解决这个事

lele9013 发表于 2012-3-2 09:06:56

是一点都没成功的几率

jtw 发表于 2012-3-2 09:30:59

点击IE9右上角工具-- Internet选项--安全-- 去掉“启用保护模式”前面的钩
我用的是IE9没有出现过类似问题

shopp1984 发表于 2012-3-4 19:01:03

看到IE还真不好弄

shopp1984 发表于 2012-3-4 19:02:12

看到IE还真不好弄

sellkingfly 发表于 2012-3-4 20:30:07

谢谢各位的信息哈

komaau3 发表于 2012-3-4 20:35:30

一直挺正常啊 ,改进下脚本把

魔导 发表于 2012-3-4 20:44:21

回复 2# netegg


    蛋蛋是E文高手?
页: [1]
查看完整版本: ie.au3 对 ie9 不兼容吗??