Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

online weather API (XML) reading through VBScript?

Status
Not open for further replies.

youandih

Programmer
Dec 22, 2012
3
NL
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 : There's a specific amount of values in a certain sub such as "Rain" "Light Rain" "Fog" "Sun".. etc. The sub I ment is located in the XML: //weather.dayf.day.part.t
what i tried is to make the vbscript read the value in part.t and return to me a sound located on my computer.
for example when i run the vbs, and the t value = "Light Rain" the script would return to me the sound "C:\some location\sound.wav"

Now I tried several scripts but I end up without result.. Anyone have any idea how this might be done?
 
What have you tried so far and where in your code are you stuck ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top