Now it looks like this:
Set xmlDoc = CreateObject("Msxml2.DOMDocument")
sPackageFile = sCurPath & "http://xml.weather.com/weather/local/NLXX0002cc=*&unit=Metric&dayf=1"
weathervar = XMLRead (sPackageFile,"weather.dayf.day.t")
If (weathervar="Rain") {
return "rain";
}
Recently I was trying to create a VBS which would read a certain value and depending on the value return a certain sound to me.
The value is in this weather API XML : http://xml.weather.com/weather/local/#Location#?cc=*&unit=#Unit#&dayf=1
There's a specific amount of values in a certain sub...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.