Hallo Holle,
ein Beispiel für den Umgang mit Events findet sich in der Hilfe zu den ActiveX Controls. Vielleicht kannst Du das leicht abgewandelt nutzen, um herauszufinden, was das Flash-Control überhaupt anstellt:
Code: Select all
; Bitte für das Flash-Control anpassen!
Gui Add, Edit, w930 r1 vURL, http://ahkscript.org/boards/
Gui Add, Button, x+6 yp w44 Default, Go
Gui Add, ActiveX, xm w980 h640 vWB, Shell.Explorer
ComObjConnect(WB, WB_Events) ; Connect WB's events to the WB_Events class object.
Gui Show
; Continue on to load the initial page:
ButtonGo:
Gui Submit, NoHide
WB.Navigate(URL)
Return
GuiClose:
ExitApp
Class WB_Events Extends WB_Base {
NavigateComplete2(wb, NewURL) {
GuiControl,, URL, %NewURL% ; Update the URL edit control.
}
}
Class WB_Base {
__Call(Func, Params*) {
Msg := "Event:`r`n" . Func . "`r`nParams:"
For Each, Param In Params
Msg .= "`r`n" . Param
ToolTip, %Msg%
}
}
Der "READYSTATE" gibt z.B. beim IE Control darüber Auskunft, ob das Control noch beschäftigt ist. Du kannst dazu Einiges in den COM Tutorials des alten Forums finden.