Thanks,
Csaba Gabor from Vienna
Some things that don't work are:
window.onmove = ...
and
<body onmove="alert('Hi mom')">
And also, this vbscript script doesn't work:
Set ie=WScript.CreateObject("InternetExplorer.Application", "evt_")
ie.visible = true
ie.Navigate2 "about:blank"
Set window = ie.document.parentWindow
window.opener = "Me" 'so ie.Quit will work
window.execScript "window.doneP=false" 'quit signaling
window.execScript "document.onkeypress=function(){" & _
"if(window.event.keyCode==27) " & _
"window.doneP=true; }"
'This section is for gracefully ending both ie AND vbscript
On error Resume Next
Do While (True)
If (window.doneP=true) Then
Exit Do
End If
WScript.Sleep 10
Loop
ie.Quit
MsgBox "Done"
Function evt_WindowSetLeft(leftVal)
'This does not fire, presumably since IE is not
'being hosted in anything
MsgBox "WindowSetLeft fired"
End Function
Function ieevt_onQuit()
'This is only to show that event handlers are properly hooked
MsgBox "onQuit fired"
End Function