Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Current temperature
#28
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
Code:
Copy      Help
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")


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)