Makes Sense.CyberCitizen wrote:I originally looked at doing it that way. The problem is the PHP on the site updates regulary and by using the IE Extract tag I can capture only the changes and not the whole page reducing the load on the server as well as the speed. Plus using the IE Extract tag its easier to limit it to only the data I am after & having to do a HTTP request every seconds.
I only have MS 13 so I have to use VBScript but you should be able to do it with IECreate>IE[0]. So, what I would do is get the Window Handle right after creating IE. Then use IfWindowOpen to check if the IE handle exist.
I hope this example at least gets you pointed in the right direction.
Code: Select all
VBSTART
Dim IE
Function CreateIE ()
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = 0
IE.toolbar = 0
IE.AddressBar = 0
IE.menubar = 0
IE.resizable = 0
IE.statusBar = 0
IE.top= 0
IE.Left= 0
IE.width= 800
IE.height= 700
End Function
Sub Navigate(URL)
IE.Navigate URL
do while IE.Busy
loop
End Sub
Sub WaitBusy
do while IE.Busy
loop
End Sub
VBEND
//Create IE
VBEval>CreateIE,res
VBRun>WaitBusy
GetWindowHandle>Windows Internet Explorer,IEHandle
//Navigate to URL
VBRun>Navigate,http://paging2.sacfs.org/live/
VBRun>WaitBusy
Label>Loop
Wait>0.1
Let>WIN_USEHANDLE=1
IfWindowOpen>%IEHandle%
Else
MDL>IE Closed
Exit>1
ENDIF
Let>WIN_USEHANDLE=0
Goto>Loop