thank
Code: Select all
#SingleInstance force
#Persistent
pwb := WBGet()
frmwin := pwb.document.getElementById("mainFrame").contentWindow
frame := ComObj(9,ComObjQuery(frmwin,"{332C4427-26CB-11D0-B483-00C04FD90119}","{332C4427-26CB-11D0-B483-00C04FD90119}"),1)
fdoc := frame.Document
ComObjConnect(fdoc, "fdoc_")
return
fdoc_OnClick(fdoc) {
MsgBox, % fdoc.parentWindow.event.srcElement.OuterHtml
}