12-16-2008, 09:32 PM
Im trying to make this tell the Forecast, like if its snowing or rainging or sunny, getting that from the same page as temp.
but for some reason this is not working? any ideas...
Macro
but for some reason this is not working? any ideas...
Macro
str Src Message Message2 zipcode url
zipcode="08620" ;;enter your zipcode here
str Forecast
url.from("http://www.weather.com/weather/local/" zipcode "?lswe=" zipcode "&lwsa=WeatherLocalUndeclared&from=whatwhere")
IntGetFile url Src
if findrx(Src "<B class=obsTextA>[a-zA-Z]</B>" 0 0 Forecast)
,Message.from("Forecast: " Forecast)
,mes(Message "Current Temperature" "isa")