Pete,
There seems no point copying a snapshot of the jpg if it already exists.
Not tested but this vb.net script should do what you need:
There seems no point copying a snapshot of the jpg if it already exists.
Not tested but this vb.net script should do what you need:
PHP Code:
Sub Main(byVal Parm As Object)
Dim Result As String = hs.GetURL("http://localhost","/Temperature.asp?Page=trend",TRUE,<homeseer port>)
'Wait 40 seconds for page to load
For X As Integer = 1 to 40
hs.waitsecs(1)
Next
My.Computer.FileSystem.CopyFile(hs.GetAppPath & "\html\mcsTemp\mcs192168244234Temp-OUT6.jpg",hs.GetAppPath & "\HTML\Images\wunderground\mcs.jpg",True)
end sub
Comment