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?
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?