- Code: Select all
tell application "WeatherManX"
set t to Forecast
end tell
the result is this:
- Code: Select all
{{"Tonight", "Periods of rain showers before 11pm, then periods of snow between 11pm and 5am, then occasional rain and snow showers after 5am. Chance for precipitation is 90%. Cloudy, with a low near 34. Windy, with a east wind between 18 and 26 mph, with gusts as high as 37 mph. New snow accumulation of less than one inch possible.", "p40"}, {"Tuesday", "Occasional rain and snow showers, mainly before 11am. Chance for precipitation is 80%. Mostly cloudy, with a high near 45. North northwest wind between 9 and 18 mph. New snow accumulation of less than one inch possible.", "p29"}, {"Tuesday Night", "A 10 percent chance of snow showers before 11pm. Mostly cloudy, then gradually becoming mostly clear, with a low around 28. North northwest wind between 6 and 13 mph.", "p34"}, {"Wednesday", "Partly cloudy, with a high near 52. North northwest wind between 8 and 14 mph.", "p03"}, {"Wednesday Night", "Partly cloudy, with a low around 28. North northwest wind between 9 and 11 mph.", "p35"}, {"Thursday", "Partly cloudy, with a high around 57. North northwest wind between 9 and 17 mph.", "p03"}, {"Thursday Night", "A 20 percent chance of showers. Mostly cloudy, with a low near 36.", "p40"}, {"Friday", "A 20 percent chance of showers. Mostly cloudy, with a high around 53.", "p13"}, {"Friday Night", "A 20 percent chance of showers. Mostly cloudy, with a low around 35.", "p40"}}
I want to parse this out to see if it's going to rain. What format is this in exactly and how would I use it?