kongl211 发表于 2011-8-17 15:49:55

如何获取window.open打开的ie窗口

如何获取通过javascript的window.open方法打开的ie对象。
不胜感激。

cxlater 发表于 2011-8-17 16:01:26

_IEAttach
附加到指定的 Internet Explorer 实例,基于您所选择的模式按照字符串/子字符串匹配.

kongl211 发表于 2011-8-19 13:47:13

回复 2# cxlater


    {:face (316):}

www378660084 发表于 2011-8-19 16:07:45


#include<IE.au3>
$oIE = _IECreate("http://www.baidu.com")

$oIE.document.parentWindow.execscript("window.xwindow=window.open('')")
$window =$oIE.document.parentWindow.xwindow
$window.document.write("hello")
页: [1]
查看完整版本: 如何获取window.open打开的ie窗口