Announcement

Collapse
No announcement yet.

Installed Weather xml and Sunrise icon Changed!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Installed Weather xml and Sunrise icon Changed!

    I am guessing this is something to do with weatherxml, because it happened since I loaded it. It is a big moon. Isn't it supposed to change to whatever the current forecast icon is? How can I make it always display the current forecast icon? Thanks.

    #2
    I had to add this code to make it work:

    strConditionNumber = hs.GetINISetting ("WeatherInfo","ConditionIcon","",strPluginINI)
    if strConditionNumber <> "" Then
    fs.Add hs.GetAppPath
    fs.Add "\html\weathericons\Cond_small\"
    fs.Add strConditionNumber
    fs.Add ".gif"
    strImageName = fs.Value
    hs.writelog "image",strImageName
    fs.Reset
    Set FSO = CreateObject("Scripting.FileSystemObject")
    if FSO.FileExists(strImageName) Then
    FSO.CopyFile strImageName, hs.GetAppPath & "\html\sunrise.gif"
    End if
    Set FSO = Nothing
    End if
    Set fs = Nothing

    Comment

    Working...
    X